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.3.tar.gz (1.9 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.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colorspectrumcalculator-0.1.0.3.tar.gz
Algorithm Hash digest
SHA256 3c82568cab479656d9c08ba17673e062870f63ae23b94e09245d921418c99d40
MD5 5b0a79476eed01f47f6c03e1899adba6
BLAKE2b-256 bcc770883dfc7205ba53df48c3ffddb5eae800a172e5bc5e6eec023ad5c83069

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colorspectrumcalculator-0.1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 96d15a348feade9015c136f34480d2c933130bf4a1e05082bafa4bf7dc89424b
MD5 205b7f995f4bc294244619b9579f86f2
BLAKE2b-256 726c30441a4c7da050456723746fd733f8cffcf5fc8368eae665d38487292877

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