@kurkle/color - v0.0.0-development
Preparing search index...
rgb2oklch
Function rgb2oklch
rgb2oklch
(
color
:
RGBA
)
:
number
[]
Convert rgb to oklch
Parameters
color
:
RGBA
the color
Returns
number
[]
[L, C, H] where L is [0..1], C >= 0 and H is in degrees [0..360]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@kurkle/color - v0.0.0-development
Loading...
Convert rgb to oklch