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.4.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

coloraide_extras-0.4.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coloraide_extras-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 22ba2b192140a6b561cd3c53671bf81f215344a23c8b769e53746bc62268bfb0
MD5 bbe410e72451417131d59a36ff6c7641
BLAKE2b-256 fcce0dec65cd3a9cd8ec2d1990628bed7bd5b79bb12627297a82bc8a02d8cbd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coloraide_extras-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ad64028b700db13b143c94bda92d4033b64166c3a1f68893ba37a358c18c5a3
MD5 51af7068bec8929b7bf30b3fbe3573c2
BLAKE2b-256 926c484a2c095ea255692d3cd80a06ca08cd6d4cc7c61c8a6f94f13b3e12f2bc

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