Creates a Rgb8Bit value from 8bit (0..255) values
Converts a colour in a legal CSS form into Rgb value, by default RgbScalar (0..1) scale.
fromCss(`rebeccapurple`);
fromCss(`rgb(40% 20% 60%)`
Interpolates colours in Srgb space. Probably really ugly, use OkLch space isntead.
Returns a lightness value (0..1) for an RGB input
It seems Colorizr can't handle % values properly :'(
Creates a RgbScalar value from scalar (0..1) values
Converts a Rgb structure (or CSS string) to Colorizr's HSL format
Sets the lightness value.