2011-08-05 16:07:25 +02:00
|
|
|
This module provides utility functions for working with the color names
|
|
|
|
and color value formats defined by the HTML and CSS specifications for
|
|
|
|
use in documents on the Web.
|
|
|
|
|
|
|
|
Support is included for the following formats (RGB colorspace only;
|
|
|
|
conversion to/from HSL can be handled by the ``colorsys`` module in
|
|
|
|
the Python standard library):
|
|
|
|
|
|
|
|
* Specification-defined color names
|
|
|
|
|
|
|
|
* Six-digit hexadecimal
|
|
|
|
|
|
|
|
* Three-digit hexadecimal
|
|
|
|
|
|
|
|
* Integer rgb() triplet
|
|
|
|
|
|
|
|
* Percentage rgb() triplet
|
|
|
|
|
2014-01-08 15:25:26 +01:00
|
|
|
WWW: https://bitbucket.org/ubernostrum/webcolors/overview/
|