CSS Colors
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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| csscolors-1.0.3.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csscolors-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|