colour.color.C_RGB

class colour.color.C_RGB

RGB colors container.

Provides a quick color access.

>>> from colour import RGB
>>> RGB.WHITE
(1.0, 1.0, 1.0)
>>> RGB.BLUE
(0.0, 0.0, 1.0)
>>> RGB.DONOTEXISTS  
Traceback (most recent call last):
...
AttributeError: ... has no attribute 'DONOTEXISTS'
__init__()

Methods