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