ColorAide
Overview
ColorAide is a pure Python, object oriented approach to colors.
>>> from coloraide import Color
>>> c = Color("red")
>>> c.to_string()
'rgb(255 0 0)'
>>> c.convert('hsl').to_string()
'hsl(0 100% 50%)'
>>> c.set("lch.chroma", 30).to_string()
'rgb(173.81 114.29 97.218)'
>>> Color("blue").mix("yellow", space="lch").to_string()
'rgb(255 65.751 107.47)'
ColorAide particularly has a focus on the following:
-
Accurate colors.
-
Proper round tripping (where reasonable).
-
Be generally easy to pick up for the average user.
-
Support modern CSS color spaces and syntax.
-
Make accessible many new and old non-CSS color spaces.
-
Provide a number of useful utilities such as interpolation, color distancing, blending, gamut mapping, filters, correlated color temperature, color vision deficiency simulation, etc.
-
Provide a plugin API to extend supported color spaces and approaches to various utilities.
-
Allow users to configure defaults to their liking.
With ColorAide, you can specify a color, convert it to other color spaces, mix it with other colors, output it in different CSS formats, and much more!
Documentation
https://facelessuser.github.io/coloraide
License
MIT
Release files for coloraide 8.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coloraide-8.13.tar.gz | 22.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coloraide-8.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.7 MB
Release files / coloraide-8.13.tar.gz
| Download URL | coloraide-8.13.tar.gz |
|---|---|
| Size | 22.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acd94d150268bf6e96568482943cb39bfe73a92a37c8912baf7506785996de58
|
|
BLAKE2b-256 checksum How to use checksums |
b3c04b9a4c5bfcd37ed0bea60ad7414b3d105139f4fdf8b6a380fddc37a08371
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / coloraide-8.13-py3-none-any.whl
| Download URL | coloraide-8.13-py3-none-any.whl |
|---|---|
| Size | 349.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e8e2b83af928fe6ff841d6731af7722014ba0bbb1ea371727346f954616cf96
|
|
BLAKE2b-256 checksum How to use checksums |
30be671a260c60dfac3cd96aa4ac8e6ec45014076b60ae933d7d84e5a5266b55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency log