Colormath2 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.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-colormath2 listed in the above command, you can pick from the names under the Packages section.
Release numerous ports to ports@
I've been retired for a few years, and it is unlikely I will be doing
any more scientific computing support in the future. I have continued
to maintain ~160 ports to the best of my ability, mainly as a favor to
the community, but I can no longer justify the time and effort
required. I am therefore releasing most of my scientific ports, along
with a few others, to ports@. I will continue to maintain ports I am
actively using and those for which I am upstream.
math/py-colormath2: Fork of abandoned py-colormath
Colormath2 is an actively maintained fork of the colormath project
which has been archived upstream. Dependent ports will be switched
to colormath2 and py-colormath will be deprecated.
PR: 298324