The first step is to find something that will liquify the stain, then vacuum it out. Wiping and blotting it most often spreads the stain. Try dry cleaning fluid (tetrachloroethene). It's sold in hardware and home supply stores.
Hook up a wet pickup vacuum cleaner using the crevice tool for maximum suction. Before you put the fluid (or any solvent) on the stained spot, put some on a small area back in the corner of a closet to test whether it removes the color or damages the carpet in any way. Don't apply enough to soak into the backing.
If it passes that test, alternate applying the fluid to the stained spot, let it sit for a few minutes then agitate it lightly with a fine brush and vacuum the fluid off.
Again, the object is for the fluid to liquify the stain so the vacuum can remove it.
Answered Aug 28, 2010
Edited Aug 28, 2010