Added color mixing function