public enum Space
Enumerates the defined colour spaces.

Enum values

NameValueDescription
Rgb0Standard (Red, Green, Blue) colour space. The sRGB space is gamma corrected.
RgbLinear1Linear (Red, Green, Blue) space without the standard gamma correction.
Hsl2Standard (Hue, Saturation, Luminance) space. Using a common but naïve luminance metric.
Hsv3Standard (Hue, Saturation, Value) space. Using a naïve brightness metric. Also sometimes called HSB space.
Hsp4Grasshopper specific (Hue, Saturation, Luminance) space with a more advanced luminance metric.
Cmy10Standard (Cyan, Magenta, Yellow) space.
Cmyk11Standard (Cyan, Magenta, Yellow, Key) space.
Lab20L*a*b* colour space.
Xyz21XYZ colour space.
Yxy22Yxy colour space, also known as the Chromaticity Diagram.
Oklab23
Icon1000A non-mathematical colour space which provides access to some contextual colour used in Icon drawing.