Skip to main content

Type Alias: Oklab

Oklab = [number, number, number]

Defined in: src/utils/oklab.ts:51

An Oklab color as [L, a, b].

L is perceptual lightness in 0.0..1.0. a is the green-red axis and b is the blue-yellow axis; both are roughly in -0.4..0.4 for in-gamut sRGB colors.