The ultimate laundry cliché of mixing a red sock in with a load of whites is clichéd for a reason -- everyone does it and still can't believe it happened to them. If you've managed to mix some colored clothes in with a load of whites, don't fret! We know you never saw that tricky red sock, but don't look for blame yet, because you may not have done permanent damage.
Before putting anything in the dryer, soak the damp clothes in a solution of baking soda and warm water with 1/2 cup salt and 1/2 cup detergent added to it. Grab your favorite detergent and wash as usual. If all goes according to plan, your whites will be white again when the buzzer signals the end of the cycle.