You may mix whites and colors in the dryer if you are sure the clothes are not new, as dyes on clothes usually settle after a few washes. However, heat and rubbing can also cause the leftover dye to come off and transfer to the lighter fabrics. When in doubt, separate them.