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

Since ColorAide is now in beta, ColorAide Extra is also in beta!

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 import UCS
>>> class Color(Base): ...
...
>>> Color.register(UCS)
>>> Color('red').convert('ucs')
color(--ucs 0.27493 0.21264 0.12243 / 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 import Color
>>> Color('color(--ucs 0.27493 0.21264 0.12243 / 1)')
color(--ucs 0.27493 0.21264 0.12243 / 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-1.0b1.tar.gz (2.8 MB view hashes)

Uploaded Source

Built Distribution

coloraide_extras-1.0b1-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

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