colour.color.C_HEX

class colour.color.C_HEX

RGB colors container.

Provides a quick color access.

>>> from colour import HEX
>>> HEX.WHITE
'#fff'
>>> HEX.BLUE
'#00f'
>>> HEX.DONOTEXISTS  
Traceback (most recent call last):
...
AttributeError: ... has no attribute 'DONOTEXISTS'
__init__()

Methods