Color Constants¶
Classes for three different color models.
The classes are RGB, CMYK, HSV. The constants in this module are all defined in the RGB color space.
In addition, this module has support for converting values into the the TKinter color space.
-
colormodel.
WHITE
= (red=255,green=255,blue=255,alpha=255)¶ The color white in the default sRGB space.
-
colormodel.
LIGHT_GRAY
= (red=192,green=192,blue=192,alpha=255)¶ The color light gray in the default sRGB space.
-
colormodel.
GRAY
= (red=128,green=128,blue=128,alpha=255)¶ The color gray in the default sRGB space.
-
colormodel.
DARK_GRAY
= (red=64,green=64,blue=64,alpha=255)¶ The color dark gray in the default sRGB space.
-
colormodel.
BLACK
= (red=0,green=0,blue=0,alpha=255)¶ The color black in the default sRGB space.
-
colormodel.
RED
= (red=255,green=0,blue=0,alpha=255)¶ The color red, in the default sRGB space.
-
colormodel.
PINK
= (red=255,green=175,blue=175,alpha=255)¶ The color pink in the default sRGB space.
-
colormodel.
YELLOW
= (red=255,green=255,blue=0,alpha=255)¶ The color yellow in the default sRGB space.
-
colormodel.
ORANGE
= (red=255,green=200,blue=0,alpha=255)¶ The color orange in the default sRGB space.
-
colormodel.
GREEN
= (red=0,green=255,blue=0,alpha=255)¶ The color green in the default sRGB space.
-
colormodel.
BLUE
= (red=0,green=0,blue=255,alpha=255)¶ The color blue in the default sRGB space.
-
colormodel.
MAGENTA
= (red=255,green=0,blue=255,alpha=255)¶ The color magenta in the default sRGB space.
-
colormodel.
CYAN
= (red=0,green=255,blue=255,alpha=255)¶ The color cyan in the default sRGB space.