expyriment.misc.HSVColour¶
-
class
expyriment.misc.
HSVColour
(hue=0, saturation=0, value=0)[source]¶ Class to handle HSV colours [hue, saturation, value]
-
__init__
(hue=0, saturation=0, value=0)[source]¶ Initialize a HSV Colour.
Parameters: hue : int (0-255), optional
default = 0
saturation : int (0-255), optional
default = 0
value : int (0-255), optional
default = 0
-
hsv
¶ Getter for HSV value [hue, saturation, value]
-
hue
¶ Getter for hue
-
rgb
¶ Getter for RGB value [red, green, blue]
-
saturation
¶ Getter for saturation
-
value
¶ Getter for value
-