yiq_to_rgb for arrays