Expand description
Oklab relative to any supported RGB primaries.
OklabSpace holds the two matrices that planar Oklab kernels need and does
scalar conversions. The constants are CSS Color 4’s, for Björn Ottosson’s Oklab.
Structs§
- Oklab
Space - Oklab relative to one set of RGB primaries.
Constants§
- LMS_
CBRT_ FROM_ OKLAB - Inverse of M2: Oklab [L, a, b] → LMS^(1/3).
- LMS_
FROM_ XYZ - M1 step 1: CIE XYZ (D65) → LMS.
- OKLAB_
FROM_ LMS_ CBRT - M2: LMS^(1/3) → Oklab [L, a, b]. Universal, primaries-independent.
- XYZ_
FROM_ LMS - Inverse of M1: LMS → CIE XYZ (D65).