1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
Colors
======
.. py:module:: thcolor.colors
The base class for colors is the following:
.. autoclass:: Color
:members: alpha, assrgb, ashsl, ashwb, ascmyk, aslab, aslch, asxyz,
replace, darker, lighter, desaturate, saturate,
css, from_text
Subclasses are the following:
.. autoclass:: SRGBColor
:members: red, green, blue, alpha, frombytes, fromnetscapecolorname
.. autoclass:: HSLColor
:members: hue, saturation, lightness, alpha
.. autoclass:: HWBColor
:members: hue, whiteness, blackness, alpha
.. autoclass:: CMYKColor
:members: cyan, magenta, yellow, black, alpha
.. autoclass:: LABColor
:members: lightness, a, b, alpha
.. autoclass:: LCHColor
:members: lightness, chroma, hue, alpha
.. autoclass:: XYZColor
:members: x, y, z, alpha
|