grapa.colorscale.Color
- class grapa.colorscale.Color(code: tuple, space: str = 'rgb')
Bases:
objectinternally stores colors in RGB colorspace. Supported: RGB, HLS, HSV CIELab, CIELCh, and their normalized equivalents CIELabnorm, CIELChnorm
- __init__(code: tuple, space: str = 'rgb')
Methods
__init__(code[, space])get([space])Returns the color in the requested colorspace.
Attributes
SUPPORTEDSUPPORTED_ALSOLOWER- get(space: str = 'rgb') tuple
Returns the color in the requested colorspace.