Your goal is to remove the dye stain, not to wreak further havoc by damaging or shrinking the fabric. All might not be lost for your favorite white shirt when dye transfer stains appear.
Color bleeding happens when the fabric gets wet and the dye leaches into the water. This is what happens when a red sock invades your load of white underwear leaving them pink. Color fading is ...