Pigment

Pigment is a set of Python utilities for colors.

>>> red = Color(255, 0, 0)
>>> blue = Color(0, 0, 255)
>>> blend(red, blue).hsv
(300, 100, 50)
Downloads Supported Versions Testing License Version

Installation

Pigment is available on PyPI:

$ python -m pip install pigment

Pigment officially supports Python 3.5+.

Documentation Contents