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

Uploaded Python 3

File details

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

File metadata

  • Download URL: colorspectrumcalculator-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for colorspectrumcalculator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3bcabae164feee0188931175f31a41cfc2d5f8ce0515aaf79fa8e31bbf8a91d1
MD5 82e99bb02b5f6d8cc125d0092a76ee7a
BLAKE2b-256 0d68c7ef14958cbf7549f0237d8820161670ff558c17d1b70646a74d916e8840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colorspectrumcalculator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 799cfafd708d94b04a619ca04cfd301923438066ec3c457e2fecc32b0048b360
MD5 103310913c27b426ac99430d72726cbc
BLAKE2b-256 93365fb72804727c440bb6909ce5dca37753b2a60f04a11d4c532f24518e96bf

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