A python module that abstracts common color math operations. For example, converting from CIE L*a*b to XYZ, or from RGB to CMYK
Python Makefile Batchfile
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Python Color Math Module (colormath)

Note: This module is no longer actively maintained. Please get in touch at greg (at) gctaylor (dot) com if you'd like to discuss maintainership.

This module implements a large number of different color operations such as color space conversions, Delta E, and density to spectral.


  • numpy
  • NetworkX 2.0+
  • Python 2.7 or Python 3.5+


The easiest way to install colormath is via pip/easy_install:

pip install colormath


For documentation, see the project webpage at:


There are also a lot of useful examples under the examples directory within this directory.


Head over to https://github.com/gtaylor/python-colormath and submit an issue if you have any problems or questions.

Legal Mumbo Jumbo

Copyright (C) 2008-2018 Gregory Taylor

This software is licensed under the BSD License.