python-webcolors

Support for color names and value formats defined by the HTML

Webcolors is a simple Python module for working with HTML/CSS color definitions. Support is included for normalizing and converting between 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 Implementations are also provided for the HTML5 color parsing and serialization algorithms. Full documentation is `available online <<a href="http://webcolors.readthedocs.org/>">http://webcolors.readthedocs.org/></a> `_.

  • 版本 1.10
  • 大小 312.6 KB
  • openSUSE Leap 15.2
直接安装 Expert Download

发行版

openSUSE Tumbleweed

openSUSE Leap 15.2

SUSE SLE-15-SP2

SUSE SLE-15-SP1

CentOS CentOS-7

不受支持的发行版

下列发行版未被官方支持。使用这些软件包需要您自担风险。

SUSE:SLE-15:GA

openSUSE:Leap:15.0

openSUSE:Leap:15.1

SUSE:SLE-12:SLE-Module-Adv-Systems-Management

openSUSE:Leap:42.3

SUSE:SLE-12:SLE-Module-Toolchain

openSUSE:Leap:42.1

openSUSE:Leap:42.2