Skip to main content

This module contains rgb tuples for some colors.

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

Running e.g. 'easycolors.transform(easycolors.red, (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 'easycolors.help()' 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.red

"(255,0,0)"

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

"(215,0,0)"

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

"(15,15,25)"

Metadata

Release files for easycolors 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easycolors 1.0.4
File Size Uploaded Provenance
easycolors-1.0.4.tar.gz 2.8 kB Without provenance Details

Release files / easycolors-1.0.4.tar.gz

Download URL easycolors-1.0.4.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bd0567cd84384252dbfdcade3fb3e3b85f2d03dfbbafac59647038cbec051793
BLAKE2b-256 checksum
How to use checksums
2ec3cdb003851b1bee28a01b74fd747d52468dc39dbc52b6681b76b129496306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.7.3

Security for easycolors 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page