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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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