Function: hslToRgb()
hslToRgb(
hsl
):RGB
Converts HSL values to RGB values.
Parameters
Parameter | Type | Description |
---|---|---|
hsl | HSL | An object with h, s, and l properties. |
Returns
An object with r, g, and b properties.
Throws
If the input is not a valid HSL object or if HSL values are out of range.
Defined in
conversions/components/hsl.ts:9