Skip to main content

CSS Colors

Build Status

Simply all css colors easily accessible in hex color code.

>>> import csscolors
>>> csscolors.RED
'#ff0000'

Also allows for iteration:

>>> import csscolors
>>> for color_name, hex_code in csscolors.iterator():
...     print(color_name, hex_code)
ALICE_BLUE #f0f8ff
ANTIQUEWHITE #faebd7
AQUA #00ffff
AQUAMARINE #7fffd4
AZURE #f0ffff
BEIGE #f5f5dc
BISQUE #ffe4c4
BLACK #000000
BLANCHED_ALMOND #ffebcd
BLUE #0000ff
...
...
...

Install

Install through pip:

pip install csscolors

Documentation

https://jakkes.github.io/py-csscolors/csscolors/

Metadata

Release files for csscolors 1.0.3

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

Source distribution (sdist)

Source distribution for csscolors 1.0.3
File Size Uploaded Provenance Actions
csscolors-1.0.3.tar.gz 4.6 kB Without provenance Details for csscolors-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for csscolors 1.0.3
File Interpreter ABI Platform Actions
csscolors-1.0.3-py3-none-any.whl Python 3 none any Details for csscolors-1.0.3-py3-none-any.whl

Total release size: 9.4 kB

Release files / csscolors-1.0.3.tar.gz

Download URL csscolors-1.0.3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8d1691c1b937e78f9c4f0ce684ca286f33089d616d103d13afd40dcd74472545
BLAKE2b-256 checksum
How to use checksums
4535bf812013ff533bfdddc8a2106149b6e5df5db87bc4f8fe548891df5fd9a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9

Release files / csscolors-1.0.3-py3-none-any.whl

Download URL csscolors-1.0.3-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
258312c4dae0a2f5f05ee6a9b0ef920156980c9fbf7c0db8cce798c18d510138
BLAKE2b-256 checksum
How to use checksums
9e77c058d5f9c08c2538f9d0f10354ccb82e3b982a157ad0b78dbbec3e0cfd47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9

Security for csscolors 1.0.3

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