Color scales and color conversion made easy for Python.
conda install conda-forge::spectra
conda install conda-forge/label/cf201901::spectra
conda install conda-forge/label/cf202003::spectra
conda install conda-forge/label/gcc7::spectra
Spectra is a Python library that makes color math, color scales, and color-space conversion easy. It has support for Color scales, Color ranges, Color blending, Brightening/darkening colors, Saturating/desaturating colors and Conversion to/from multiple color spaces. Spectra is built on colormath and grapefruit. Spectra is enormously inspired by chroma.js and d3's scales.