added mix color function