Skip to main content

A simple tool for convinient rgb-tuple use

Project description

This module contains rgb tuples for some colors.

Running e.g. '' will return the rgb tuple for red.

Running e.g. 'easycolors.transform(, (0,0,10))' will return the rgb tuple for red, but with its blue value incremented by 10.

The first arg can also be a 3-value tuple, and the second arg can also be an int (which will in- or decrement all values in the given rgb-tuple).

Running '' will print some information that might be usefull.

colors: white, black, grey, darkgrey, red, green, blue, yellow, orange, cyan, purple, navy, pink

example code:

import easycolors


easycolors.transform(, (-10,0,0))


easycolors.transform((10,10,20), 5)


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

easycolors-1.0.4.tar.gz (2.8 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