A color library for Python.
Project description
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
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.0b1.tar.gz
.
File metadata
- Download URL: coloraide_extras-1.0b1.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61caeae3d622bf9ae333edba2910b235a0574310d99f0d978d3d780b4c4ef1f7 |
|
MD5 | 155eaa5d95be4dbf532528d6b31712bb |
|
BLAKE2b-256 | ff53f81db8290044b78c698ab07e6291fcdd3c6b76374e182fef80783f9efa41 |
Provenance
File details
Details for the file coloraide_extras-1.0b1-py3-none-any.whl
.
File metadata
- Download URL: coloraide_extras-1.0b1-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93732b030a3a5b1f3a5dfe9e4e61eba3beb3b292135cb9ef7a6f0cc7c6196b43 |
|
MD5 | ec1daa43bb26317da644e3003e7b427f |
|
BLAKE2b-256 | 0e62072d188c8712c4f44e1fa52baa3a8f46970b66fdb6dbb7e722d71f669e37 |