Colorspace

The Predefined Color Spaces. For now, no custom space.

Values

ValueMeaning
rgba8

A 8-bit tristimulus sRGB color, with alpha. This is the most common encoding, and is here to avoid needless conversion for this case.

rgba16

A 16-bit tristimulus sRGB color, with alpha. This is not a CSS colorspace, and it here for completeness.

rgbaf32

A 32-bit float tristimulus sRGB color, with alpha. Called "srgb" in CSS. CSS functions such as rgb() return that.

hslaf32

A 32-bit float Hue Saturation Luminance space that is based-upon sRGB. "hsl" in CSS.

unknown

Meta