You can dry whites and colors together if the clothes are not new, as dyes usually stabilize after a few washes. The color transfer usually does not happen during the drying.