Skip to content

Enum ColorMix

The space two colors are mixed in.

Declaration
public enum ColorMix

Channel by channel as stored. The quickest, and what most tools call a blend.

Declaration
Srgb = 0

By the light each channel gives off. A mix of two bright colors keeps its brightness.

Declaration
Linear = 1

In Oklab, which follows how the eye sees. Steps look even, and hues stay clean through the middle.

Declaration
Perceptual = 2