Convert color between HSLuv and RGB spaces
hsluv create a Color with normalized HSLuv
components (0->1) and an alpha channel
hsluv360 create a Color with HSLuv
components and an alpha channel
- hue range is 0->360
- saturation range is 0->100
- lightness range is 0->100
- alpha range is 0->1rgb create a Color with normalized RGB components (0->1)
and an alpha channel
rgb255 create a Color with RGB components (0->255) and an alpha channel (0->1)
toHsluv extract the normalized components of a color in the HSLuv format
toHsluv360 extract the components of a color in the HSLuv format
- hue range is 0->360
- saturation range is 0->100
- lightness range is 0->100
- alpha range is 0->1toRgb extract the normalized components of a color in the RGBA format
toRgb255 extract the components of a color in the RGBA format (0->255)
hsluvToRgb convert HSLuv components to RGB
hpluvToRgb convert HSLuv components to RGB
rgbToHsluv convert RGB components to HSLuv
rgbToHpluv convert RGB components to HSLuv
lchToLuv convert LCH components to LUV
luvToLch convert LUV components to LCH
xyzToRgb convert XYZ components to RGB
rgbToXyz convert RGB components to XYZ
xyzToLuv convert XYZ components to LUV
luvToXyz convert LUV components to XYZ
hsluvToLch convert HSLuv components to LCH
lchToHsluv convert LCH components to HSLuv
hpluvToLch convert HPLuv components to LCH
lchToHpluv convert LCH components to HPLuv
Opaque color type