colormath
Color math and conversion library.
Decision gist · record as of 2026-08-14
Yes, if your color math needs are stable and you can tolerate an abandoned package. Colormath remains functional for standard color conversions and Delta E calculations, with no known vulnerabilities. However, do not adopt it for new projects requiring active maintenance, Python version updates, or modern color science standards—the lack of updates since 2017 and repository archival mean no fixes or enhancements are coming.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires numpy and NetworkX 2.0+ as runtime dependencies; no Python version guarantee beyond the stated support for 2.7 and 3.5+
- Installation requires numpy and NetworkX 2.0+.
- The package is abandoned—last release was 2017-12-27 and the repository was archived.
License · maintenance · safety
BSD (permissive) — BSD license is permissive; you can use, modify, and distribute colormath with minimal restrictions, provided you retain the copyright notice and license text.
last release 2017-12-27 (3152 days) · last repo commit 2023-12-12 · 474 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 131,721 downloads/mo, #11,577 on PyPI
Alternatives
Verify before relying
pip install colormath
from colormath.color_objects import sRGBColor
from colormath.color_conversions import convert_color
color = sRGBColor(0.5, 0.5, 0.5)
lab_color = convert_color(color, LabColor)- Whether numpy and NetworkX 2.0+ are available in your target environment without additional friction
- Whether the package's color algorithms remain accurate for modern color science standards
- Whether abandonment affects compatibility with current Python versions beyond the stated 2.7 and 3.5+ support
What it is and what it does
Colormath is a Python library for performing mathematical operations on colors. It handles color space conversions (e.g., RGB to LAB, XYZ to sRGB), calculates perceptual color differences using Delta E metrics, and can convert between color representations and spectral data. The library depends on numpy for numerical computation and NetworkX 2.0+ for graph operations.
The package is in production-stable status but abandoned—the last release was in December 2017 and the repository is archived. It remains functional for color math tasks but receives no active maintenance, security updates, or compatibility fixes. Use it only if your color conversion needs are stable and you can tolerate lack of ongoing support.
Use it for
- Convert RGB colors to perceptually uniform spaces like LAB for image processing or color analysis
- Calculate Delta E (color difference) to determine if two colors are perceptually similar
- Transform between different color spaces (sRGB, XYZ, HSV, etc.) for graphics or design workflows
- Convert spectral data to standard color representations for scientific or photometric applications
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if your color math needs are stable and you can tolerate an abandoned package.
Colormath remains functional for standard color conversions and Delta E calculations, with no known vulnerabilities. However, do not adopt it for new projects requiring active maintenance, Python version updates, or modern color science standards—the lack of updates since 2017 and repository archival mean no fixes or enhancements are coming.
Install
colormath on PyPI
Before you install
Installation requires numpy and NetworkX 2.0+. The package is abandoned—last release was 2017-12-27 and the repository was archived. No active maintenance or security updates should be expected.
Requires numpy and NetworkX 2.0+ as runtime dependencies; no Python version guarantee beyond the stated support for 2.7 and 3.5+
License in practice
BSD license is permissive; you can use, modify, and distribute colormath with minimal restrictions, provided you retain the copyright notice and license text.
Quickstart
pip install colormath
from colormath.color_objects import sRGBColor
from colormath.color_conversions import convert_color
color = sRGBColor(0.5, 0.5, 0.5)
lab_color = convert_color(color, LabColor)
Verify before relying
- Whether numpy and NetworkX 2.0+ are available in your target environment without additional friction
- Whether the package's color algorithms remain accurate for modern color science standards
- Whether abandonment affects compatibility with current Python versions beyond the stated 2.7 and 3.5+ support
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,152 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 131,721 / month, #11,577 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Scientific/Engineering :: MathematicsTopic :: Software Development :: Libraries :: Python Modules |
Evidence: colormath-3.0.0.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “color space conversion”
- colormathColormath performs color space conversions, calculates color…
- colourConverts between and manipulates color representations including RGB,…
- pyobjc-framework-ColorSyncProvides Python bindings to macOS's ColorSync framework, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also colour-science · colorzero · colorspacious · pyobjc-framework-ColorSync · coloraide · roma · colour · pymap3d · qt-material