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


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyrgbpalette, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size pyrgbpalette-0.0.6.tar.gz (16.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page