A color library for Python.
Project description
ColorAide Extras
Overview
ColorAide Extras is an add-on pack containing various plugins for ColorAide. The idea behind ColorAide Extras is to provide an environment for experimental color spaces, ∆E methods, and other plugins.
Normally, it is advisable to only cherry pick color spaces you need. Rarely do people need every color space. This can be done simply by registering the color spaces you'd like.
>>> from coloraide import Color as Base
>>> from coloraide_extras.spaces.uvw import UVW
>>> class Color(Base): ...
...
>>> Color.register(UVW())
>>> Color('red').convert('uvw')
color(--uvw 171.8 24.715 52.261 / 1)
But, if you want access to all the color spaces for both ColorAide and ColorAide Extras, simply import Color
from
coloraide_extras
instead of coloraide
:
>>> from coloraide_extras.everything import ColorAll as Color
>>> Color('color(--uvw 171.8 24.715 52.261 / 1)')
color(--uvw 171.8 24.715 52.261 / 1)
Documentation
https://facelessuser.github.io/coloraide-extras
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file coloraide_extras-1.7.tar.gz
.
File metadata
- Download URL: coloraide_extras-1.7.tar.gz
- Upload date:
- Size: 112.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e3956a68f2bd9fe0c42b24b832980e0dc7d4c53f6402ad0516da10a11107d7d |
|
MD5 | 2e3969e855a1199e1e6cdac3dc917f98 |
|
BLAKE2b-256 | f6eb57222a42c57e5c0ac47e4ad6c063801c17076f95db34f2900219b28c0b9c |
File details
Details for the file coloraide_extras-1.7-py3-none-any.whl
.
File metadata
- Download URL: coloraide_extras-1.7-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af25bb93369d84d843b971c1c519d9e733999fb7ffac45880bad132e6201b5d1 |
|
MD5 | 874656f5ebf1e338f7b3995fd6734ae0 |
|
BLAKE2b-256 | 83470c8589608f00ee695ae30112aa41939ec628cd7efac30dbce1b0eba176fb |