Expand description
Structs§
- A color in Oklab is represented with three coordinates, similar to how CIELAB works, but with better perceptual properties.
- Interoperable with the
rgb
crate. ARed + Green + Blue
pixel.
Functions§
- Converts from linearized sRGB (in 0..1 range) to
Oklab
- Converts
Oklab
to linear sRGB (in 0..1 range) - Converts
Oklab
to standard sRGB color as a float in range 0..=1 - Converts sRGB as a float in range 0..=1 to
Oklab
(in usual Oklab range where a,b can be negative and below 1)
Type Aliases§
- Linearized sRGB (AKA linear light RGB, sRGB with gamma 1.0)