blob: 4953a17db6cf6a3f4d93e83c28d4a1837d928ade (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
colormath is a simple Python module that spares the user from directly dealing
with color math.
Some features include:
* Support for a wide range of color spaces. A good chunk of the CIE spaces,
RGB, HSL/HSV, CMY/CMYK, and many more.
* Conversions between the various color spaces. For example, XYZ to sRGB,
Spectral to XYZ, CIE Lab to Adobe RGB.
* Calculation of color difference. All CIE Delta E functions, plus CMC.
* Chromatic adaptations (changing illuminants).
* RGB to hex and vice-versa.
* 16-bit RGB support.
WWW: https://pypi.org/project/colormath/
|