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 | RSS feed
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 details)
File details
Details for the file pyrgbpalette-0.0.6.tar.gz.
File metadata
- Download URL: pyrgbpalette-0.0.6.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f6c8286d05dc5f0467988e081205f1e25286587344a9dd45348083b96a7d300
|
|
| MD5 |
624347dfd4d5c1945da157f105540179
|
|
| BLAKE2b-256 |
59f048bb714f20ede52bdd9255db2502c13a116ef03610adb5b8a7d93fa6bdb2
|