Skip to main content

A color library for Python.

Project description

Donate via PayPal Discord Build Coverage Status PyPI Version PyPI Downloads PyPI - Python Version License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coloraide_extras-0.5.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

coloraide_extras-0.5.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file coloraide_extras-0.5.0.tar.gz.

File metadata

  • Download URL: coloraide_extras-0.5.0.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for coloraide_extras-0.5.0.tar.gz
Algorithm Hash digest
SHA256 42bf4341aec0c14a61a1a855674f26d3f37fa185f0be558d6e56a3d18d91f5e3
MD5 5fd9667fd79be81305a98745e19b4370
BLAKE2b-256 fceeb2e9b698d714a9c560f816ed650452101301512a63c31a43d9472823f533

See more details on using hashes here.

File details

Details for the file coloraide_extras-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for coloraide_extras-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b1b504d2966d901d2a34df0ce479e1b974187533c6f1a655f0441b6263f0a67
MD5 020d0bf5e727f7a775dee7956e7ac99f
BLAKE2b-256 ca2c9ed24cceaee0bb056ae99368d5d505cf18e9e581ce72871b0bd85b075ede

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page