Cold water is less likely to set the stain ... However, when dealing with color transfer in white clothes, oxygen bleach is preferred since it's more gentle than regular, chlorine-infused bleach.
Related: How To Make White Clothes White Again If you like to play it safe and launder everything in cold water, you could be ...