Function: oklabToRgb()
oklabToRgb(
oklab
):RGB
Converts Oklab color values to RGB.
Parameters
Parameter | Type | Description |
---|---|---|
oklab | Oklab | An object with L, a, and b properties. |
Returns
An object with r, g, and b properties.
Throws
If the input is not a valid Oklab object.
Defined in
conversions/components/oklab.ts:11