BSD Ports

math/py-colormath2 3.0.3 DragonFly

Module that spares the user from directly dealing with color math

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
math, python
Package size
76.7 KiB, 502.9 KiB installed

Description

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.

In the other systems

The newest version among them is 3.0.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlymath/py-colormath23.0.3 newestnone known-[email protected]-
FreeBSDmath/py-colormath23.0.3 newestnone known-[email protected]2026-10-08
HardenedBSDmath/py-colormath23.0.3 newestno data-[email protected]-
GhostBSDmath/py-colormath23.0.3 newestno data-[email protected]-

Version history 1

  1. 3.0.3

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-colormath2

From DPorts:

cd /usr/dports/math/py-colormath2 && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3
Required by 1