Skip to content

webcolors

See also: Full list of projects.

A library for working with and converting between the color formats defined in HTML and CSS.

Supports the RGB color formats of HTML 4, CSS 1, CSS 2 and CSS 3, as well as the color parsing and serialization algorithms of HTML5.

This library knows why Chuck Norris is a color.

Project information:

Latest version 24.11.1 (November 10, 2024)
License BSD
Packages on the Python Package Index
Documentation on Read the Docs
Repository on GitHub
Continuous integration on GitHub Actions
CI status GitHub Actions status badge