Skip to main content

Module/service that takes two colors and returns the inclusive spectrum between them.

Project description

ColorSpectrumCalculator..

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

It's a wrapper around 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.

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

colorspectrumcalculator-0.1.0.1.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

colorspectrumcalculator-0.1.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file colorspectrumcalculator-0.1.0.1.tar.gz.

File metadata

File hashes

Hashes for colorspectrumcalculator-0.1.0.1.tar.gz
Algorithm Hash digest
SHA256 fb7a4845f461b4f1b98e254a6247ff8e458a86d438673e10b26777918b995e54
MD5 48013342126d4614624e1833747c179b
BLAKE2b-256 3102370763dae40408875643e3eee7172805bb43ee4086ea9f9320c56f98faab

See more details on using hashes here.

File details

Details for the file colorspectrumcalculator-0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for colorspectrumcalculator-0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 684d6b56e6bc0f6a1d9e6a78f28aed8b1eea2d2a0bcd7ab0ca8549458d8273f0
MD5 45bb755523b9c143adf8ef8943103e3c
BLAKE2b-256 8e748e8cd0ab3649c9956c43999b0c64ccf9f26e224f8a1167e28b87473d3d26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page