colorzero
Yet another Python color library
Decision gist · record as of 2026-08-14
Yes, if you need straightforward color manipulation without heavyweight dependencies or color-science complexity. The immutable design is genuinely useful for caching and set operations. However, the latest release was in 2021, so verify that the package still meets your Python version requirements and that any needed features are already implemented. Not suitable if you require advanced color science or comprehensive color space support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only setuptools as a runtime dependency.
- The package is actively maintained with a recent commit in 2026, though the latest release was in 2021.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is a permissive license that allows commercial and private use with minimal restrictions, requiring only that you retain the license notice.
last release 2021-03-15 (1978 days) · last repo commit 2026-03-05 · 25 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 434,246 downloads/mo, #6,693 on PyPI
Alternatives
Verify before relying
pip install colorzero
from colorzero import Color, Lightness
# Create and manipulate colors
result = Color('red') + Color('blue')
adjusted = Color.from_hls(0.5, 0.5, 1.0) * Lightness(0.8)- Whether the package maintains backward compatibility with Python 3.5 and 3.6 despite being released in 2021
- Current test coverage and whether all advertised color space conversions are fully implemented
What it is and what it does
colorzero is a color library designed for simplicity and educational use, not comprehensive color science. It represents colors as immutable namedtuple descendants, which means Color instances can be used as dictionary keys or placed in sets—a key difference from most other color libraries. The immutability is enforced: you cannot directly modify a Color's attributes; instead, you perform operations (addition, subtraction, multiplication) that return new Color instances.
The library supports RGB, HLS, and CIE Lab color spaces, with basic Delta-E calculations available for those who need them. It was originally built for the picamera project and targets a wide skill range, from school children learning about color to developers needing straightforward color manipulation. Its single runtime dependency is setuptools, making it lightweight to install.
Use it for
- Educational projects where students need to learn color manipulation without diving into color science theory
- Embedded or IoT applications (like Raspberry Pi projects) that need simple color handling with minimal dependencies
- Building lookup tables or caches keyed by color values, leveraging Color's hashability
- Converting between RGB, HLS, and Lab color spaces for image processing or visualization tasks
- Performing basic color arithmetic (blending, lightness adjustment) in graphics or LED control code
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need straightforward color manipulation without heavyweight dependencies or color-science complexity.
The immutable design is genuinely useful for caching and set operations. However, the latest release was in 2021, so verify that the package still meets your Python version requirements and that any needed features are already implemented. Not suitable if you require advanced color science or comprehensive color space support.
Install
colorzero on PyPI
Before you install
Low install friction with only setuptools as a runtime dependency. The package is actively maintained with a recent commit in 2026, though the latest release was in 2021.
License in practice
BSD-3-Clause is a permissive license that allows commercial and private use with minimal restrictions, requiring only that you retain the license notice.
Quickstart
pip install colorzero
from colorzero import Color, Lightness
# Create and manipulate colors
result = Color('red') + Color('blue')
adjusted = Color.from_hls(0.5, 0.5, 1.0) * Lightness(0.8)
Verify before relying
- Whether the package maintains backward compatibility with Python 3.5 and 3.6 despite being released in 2021
- Current test coverage and whether all advertised color space conversions are fully implemented
Package facts
| License | BSD-3-Clause permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagesetuptools |
| Maintenance | Actively maintained 1,978 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 434,246 / month, #6,693 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 :: DevelopersIntended Audience :: EducationLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Education |
Evidence: colorzero-2.0-py2.py3-none-any.whl
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 manipulation library”
- colorzerocolorzero provides a simple, immutable color manipulation library for…
- coloraideColorAide is a pure Python library for creating, converting, and…
- colourConverts between and manipulates color representations including RGB,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Education packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
progressbar2 renders text-based progress bars in the terminal, handling custom widgets, concurrent bars, unknown-length progress, and clean output around logs and prints.
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.
cuda-python is a metapackage providing Pythonic access to NVIDIA's CUDA platform, bundling low-level bindings, runtime abstractions, and utilities for GPU-accelerated computing from Python.
However, verify that the proprietary NVIDIA license aligns with your project's requirements before committing to it in production or redistributed code.
Provides Pythonic APIs to access CUDA core functionalities including runtime control, compiler, and linker operations from Python.
See also colour · colormath · coloraide · colorhash · colour-science · color-operations · colorspacious · colorlover · webcolors