oklabToRgb
oklabToRgb(
lab):Node<"vec4">
Defined in: packages/nodes/src/color/oklab.ts:148
Convert OKLAB to sRGB (gamma-encoded).
Applies the exact IEC 61966-2-1 linear->sRGB transfer (sRGBTransferOETF),
clamping the linear result to [0,1] first.
Parameters
Section titled “Parameters”Node <"vec4">
OKLAB color as vec4(L, a, b, alpha)
Returns
Section titled “Returns”Node <"vec4">
sRGB color as vec4(r, g, b, alpha)
Example
Section titled “Example”oklabToRgb(oklabColor)