Yes, you can usually mix colors in a tumble dryer because color transfer is unlikely without water. As long as the clothes were washed properly and did not bleed dye, drying them together is generally safe. Be aware that some garments may shed lint onto other fabrics.