Skip to content

jakkes/py-csscolors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages