Expand description
Structs§
- A color in Oklab is represented with three coordinates, similar to how CIELAB works, but with better perceptual properties.
- A
Red + Green + Bluepixel.
Functions§
- Converts from linearized sRGB (in 0..1 range) to Oklab
- Converts Oklab to linear sRGB (in 0..1 range)
- Converts Oklab to regular 8-bit sRGB color
- 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)
- Converts regular 8-bit sRGB color to Oklab