A simple class which stores red, green and blue values as 8 bit integers in the range of 0-255.
__init__ | Constructor for RGBValue, an object that contains values for red, green and blue which represent the value of a color. |
A simple class which stores red, green and blue values as 8 bit integers in the range of 0-255.
Possible constructors:
RGBValue(r=0, g=0, b=0)
Constructor for RGBValue, an object that contains values for red, green and blue which represent the value of a color.
It is used by Image.HSVtoRGB and Image.RGBtoHSV , which convert between HSV color space and RGB color space.
Parameters: |
|
---|