Hair spray, just get to it before it dries! Nail polish remover can also dissolve the glue in the carpet so be careful how much you use if you get some! Resolve carpet cleaner works okay. Think the last my 3 year old spilled on the carpet still has a bit of red hue to the carpet in that location.
Nail polish remover will eat the carpet. try "Goof off" get it a home depot.soak it, Pat it. it will disolve it. but it might spread. some try to keep it contained hit it w/ alot of soap while still wet. good luck.