Constructor for creating colors in RGB format. If called without parameters, then all three values of the channels R, G and B take the value 0, which corresponds to black.
Alias for standard (default) luminance calculation. Value is the same as luminance709.
Luminance according to ITU 601 standard.
Luminance according to ITU 709 standard.
Average luminance.
Basic arithmetic for color operations. The value on the right can be a value of any numeric type.
Basic arithmetic for color operations. Only the RGBColor type can be used as the value on the right.
A string representation of a color. The color is output as a string in the following format: RGBColor(R=<value>, G=<value>, B=<value>, I=<value>), where R,G,B are the values of the three color channels, and I is color brightness according to ITU 709.
Class for representing color in RGB format.