As long as you use soap, the temperature of the water doesn't matter. Cold water still washes away dirt and sweat in the same way warm water does. It's also better for your hair as it seals the cuticle after washing, reducing frizz, increasing shine, and locking in color.