Constant colstodian::spaces::dynamic_spaces::OKLCH[][src]

pub const OKLCH: ColorSpace;
Expand description

Oklch is a non-linear, perceptual encoding in XYZ, with a D65 whitepoint. It is a variant of Oklab with LCh coordinates intead of Lab.

Oklch’s qualities make it a very attractive color space for performing computational modifications to a color. You can think of it as an improved version of an HSL/HSV-style color space. See this article for more on why you might want to use the Oklch colorspace.