A color library for Python.
Project description
ColorAide Extras
This is still a work in progress.
Like ColorAide, ColorAide Extras is very usable and out of the alpha stage, but it is currently in a prerelease state. This simply means that the API of ColorAide is still in flux to some degree and could affect this package.
Overview
ColorAide Extras is an add-on pack containing various plugins for ColorAide. ColorAide only ships with a select number of color spaces, ∆E methods, and gamut mapping alternatives. ColorAide Extras allows us to offer an additional number of uncommon and/or experimental set of color spaces and other plugins.
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 import Color
>>> Color('color(--hunter-lab 46.113 82.694 28.337 / 1)')
color(--hunter-lab 46.113 82.694 28.337 / 1)
If you'd like to only grab a few, simply subclass Color
from coloraide
and register the additional plugins that you
desire:
>>> from coloraide import Color as Base
>>> from coloraide_extras.spaces.hunter_lab import HunterLab
>>> class Color(Base): ...
...
>>> Color.register(HunterLab)
>>> Color('red').convert('hunter-lab')
color(--hunter-lab 46.113 82.694 28.337 / 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
Hashes for coloraide_extras-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b1b504d2966d901d2a34df0ce479e1b974187533c6f1a655f0441b6263f0a67 |
|
MD5 | 020d0bf5e727f7a775dee7956e7ac99f |
|
BLAKE2b-256 | ca2c9ed24cceaee0bb056ae99368d5d505cf18e9e581ce72871b0bd85b075ede |