Skip to main content

CSS Colors in hex color codes.

Project description

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/

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

csscolors-1.0.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

csscolors-1.0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file csscolors-1.0.3.tar.gz.

File metadata

  • Download URL: csscolors-1.0.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for csscolors-1.0.3.tar.gz
Algorithm Hash digest
SHA256 8d1691c1b937e78f9c4f0ce684ca286f33089d616d103d13afd40dcd74472545
MD5 bd1dc41366cc4532f643402234a06c20
BLAKE2b-256 4535bf812013ff533bfdddc8a2106149b6e5df5db87bc4f8fe548891df5fd9a3

See more details on using hashes here.

File details

Details for the file csscolors-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: csscolors-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for csscolors-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 258312c4dae0a2f5f05ee6a9b0ef920156980c9fbf7c0db8cce798c18d510138
MD5 1b569f7cb70aa7b972e4dfd99fb74c8c
BLAKE2b-256 9e77c058d5f9c08c2538f9d0f10354ccb82e3b982a157ad0b78dbbec3e0cfd47

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page