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.

WHITE = (red=255,green=255,blue=255,alpha=255)

The color white in the default RGB space.

LIGHT_GRAY = (red=192,green=192,blue=192,alpha=255)

The color light gray in the default RGB space.

GRAY = (red=128,green=128,blue=128,alpha=255)

The color gray in the default RGB space.

DARK_GRAY = (red=64,green=64,blue=64,alpha=255)

The color dark gray in the default RGB space.

BLACK = (red=0,green=0,blue=0,alpha=255)

The color black in the default RGB space.

RED = (red=255,green=0,blue=0,alpha=255)

The color red, in the default RGB space.

PINK = (red=255,green=175,blue=175,alpha=255)

The color pink in the default RGB space.

YELLOW = (red=255,green=255,blue=0,alpha=255)

The color yellow in the default RGB space.

ORANGE = (red=255,green=200,blue=0,alpha=255)

The color orange in the default RGB space.

GREEN = (red=0,green=255,blue=0,alpha=255)

The color green in the default RGB space.

BLUE = (red=0,green=0,blue=255,alpha=255)

The color blue in the default RGB space.

MAGENTA = (red=255,green=0,blue=255,alpha=255)

The color magenta in the default RGB space.

CYAN = (red=0,green=255,blue=255,alpha=255)

The color cyan in the default RGB space.

Previous topic

Class HSV

This Page