Generic color operations that can be used by more than one effect.