There is a way, if you act immediately to save the clothes that changed color.
The first solution is to get the washed clothes and put again for washing at low temperature but with a difference. Add the detergent you typically use a little baking soda.
The second solution comes with a little white vinegar. Before clothes are dry, put them back in the washing machine and add 1/2 cup of vinegar in the tray that you put the detergent. When you are finished washing, get the clothes while still wet and put them in a basin of water and natural lemon juice. Leave them in the toilet for 24 hours and put it again in the washing machine.