Skip to main content

Generate rgb palette in red or rainbow

Project description

PyRgbPalette

calculate the RGB values for rainbow or shades of red palette

Installation

Run the following to install:

pip install pyrgbpalette

Usage

from rgbpalette import rgb_in_rainbow, rgb_in_palette
# generate rgb value
rgb_value = rgb_in_rainbow(0.5)

# generate rgb palette (default: rainbow values)
rgb_value = rgb_in_palette(0.5)

# generate rgb palette as shades of red
rgb_value = rgb_in_palette(0.5, rainbowDisplay=False)

Developing PyRgbPalette

To install pyrgbpalette, along with the tools you need to develop and run tests, run the following in your virtualenv:

$ pip install -e .[dev]

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

pyrgbpalette-0.0.6.tar.gz (16.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page