Aller au contenu

Enumeration HrzProtocol.ColorInterpolationMode

Defined in hrz/protocol/color/palette.proto.


OKLAB (0)

Uses the Oklab perceptually uniform color space for color blending. This creates visibly intuitive results.


SRGB (1)

Uses the sRGB color space. This is similar to Oklab for grayscale, but visually degrades highly saturated colors when blended together.


LINEAR_SRGB (2)

Uses colors from the sRGB color space, without gamma correction. This is similar to Oklab when blending saturated colors. However blending colors with highly different values is visually unintuitive.


THRESHOLD (3)

Doesn’t interpolate colors. Uses the first one when the blending factor is < 0.5, and the second one otherwise.