small amount of acetone free nail polish diluted with vinegar adn water worked for me about 6 months ago. just rubbed it in and patted dry with dry cloth
was on light carpet so wasnt any colour to remove, id maybe spot test if its darker carpet.