🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

coloraide-extras

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coloraide-extras

Experimental plugins for ColorAide.

1.11
PyPI
Maintainers
1

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

ColorAide Extras

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.spaces.uvw import UVW
>>> class Color(Base): ...
...
>>> Color.register(UVW())
>>> Color('red').convert('uvw')
color(--uvw 171.8 24.715 52.261 / 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.everything import ColorAll as Color
>>> Color('color(--uvw 171.8 24.715 52.261 / 1)')
color(--uvw 171.8 24.715 52.261 / 1)

Documentation

https://facelessuser.github.io/coloraide-extras

License

MIT

Keywords

color

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts