I used nail polish remover to get white nail polish out of a black sweater (the one im wearing in my pic) & it didnt ruin the fabric at all. so you can try that but test it first.
Resolve stain remover is the best brand to use on stains; removes any kind of stain. if it's white carpet, you can try nail polish remover (don't try on colors; the chemicals may damage the color).
umm what ever you do dont push it in to the carpet use nail polish remover and if it takes some of the color out use shoe shiner to get the color back thats what I did and I have a white carpet
make it warm and try to get it out try your bast