Use Mr. Clean in a Rug Doctor carpet shampooer. Cheaper than the brand name solution. $3 v/s $20. My carpets are off white. The color in this solution will NOT stain your carpet. See the treated side of the cola stain? I used Mr. Clean 'Gain' scented. My whole house smells like Gain dryers sheets! Use 1/2 cup of Mr. Clean per 2 gallons of hot water.
Rent a rug doctor for $25. Instead of buying their expensive solution, use a 1/2 cup high efficiency laundry detergent and 1/2 cup of bleach per tank of water. Use nearly boiling wate. Substitute oxi-clean instead of bleach for dark carpet. Real picture of results.