Welcome to thcolor’s documentation!

thcolor is a color management module made by Thomas Touhey (th is for touhey).

It was originally made for the textoutpc project, a BBCode to HTML translation module.

thcolor allows you to:

  • Represent colors using various colorspaces and coordinates.

  • Convert between these representations.

  • Parse colors and related elements using expressions inspired by (and compatible with given the right options) CSS standards by the W3C.

  • Make CSS expressions out of given color representations.

For more information, you can consult:

The documentation contents is the following: