Converts some kind of colour into a scalar representation. Supports oklch, hsl and srgb.
Colour to convert
Destination colour format
Converts some kind of colour into a scalar representation. Supports oklch, hsl and srgb.
Param: colour
Colour to convert
Param: destination
Destination colour format