Metadata-Version: 2.4
Name: colorspectrumcalculator
Version: 0.1.0.3
Summary: Module/service that takes two colors and returns the inclusive spectrum between them.
Author: Javas Shankar
Author-email: javasshankar@gmail.com
Requires-Python: >=3.13, <4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: colour (>=0.1.5,<0.2.0)
Requires-Dist: flask (>=3.1.3,<4.0.0)
Requires-Dist: flask-cors (>=6.0.5,<7.0.0)
Requires-Dist: pytest (>=9.1.0,<10.0.0)
Description-Content-Type: text/markdown

# ColorSpectrumCalculator..

.. takes two colors and calculates the spectrum between them.

It's a wrapper around [colour](https://github.com/vaab/colour)'s `range_to`.

It takes two `rgba` colour inputs and a `num_spectrum_intervals` parameter, returning an inclusive range of colors sized `min(num_spectrum_intervals + 2, MAX_SPECTRUM_STEPS)`.

Each color returned is a `colour.Color`.

A Flask app for running it locally is included.
