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.2.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.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colorspectrumcalculator-0.1.0.2.tar.gz
Algorithm Hash digest
SHA256 d853b55679c1647e5394ed7dca30743927645d1ff7010eb640529999f5fc733f
MD5 b74309d4978c349fbdee599d5a0d1665
BLAKE2b-256 4811b04f0efe797835cd9ba0457b49739fbb9ea04b09eb241a717ff53712f161

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colorspectrumcalculator-0.1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 530b3a3062f800e57e811b4891d22b42e5c98d0298fdcbc71e10ea93d11affed
MD5 773853ea4d47a0ca5734523618067e7f
BLAKE2b-256 baed1768bdef9270836a8177e246bf81ccbf2206c5e5b587915186ef3ca4d709

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