rgbToHsl
Defined in: packages/math-color/src/conversions/hsl-rgb.ts:42
Converts RGB to HSL values in the range [0, 1].
Type Parameters
Section titled “Type Parameters”S extends string
Parameters
Section titled “Parameters”The RGB color in the range [0, 1].
Returns
Section titled “Returns”The corresponding HSL color.