Skip to content


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 1.13 (March 27, 2023)
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