Construct a color from a string.
Construct a color from RGB and optional alpha values.
Construct a color from a luminance and optional alpha value.
Construct a color from RGB and optional alpha values.
Construct a color from a luminance and optional alpha value.
Type of the color components.
Type of the color components.
Binary operators.
Binary operators.
Cast to other color types.
Binary assignment operators.
Binary assignment operators.
Unary operators.
Return the RGB tristimulus values as a tuple. These will always be ordered (R, G, B). Any color channels not present will be 0.
Return the RGB tristimulus values + alpha as a tuple. These will always be ordered (R, G, B, A).
The colors color space.
The color space descriptor.
The color components that were specified.
If the color has alpha.
Test if a particular component is present.
If the color is stored linearly (without gamma applied).
Type for the color channels. May be a basic integer or floating point type.
Color is stored with linear luminance.
Color will be within the specified color space.
An RGB color, parameterised with components, component type, and color space specification.