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)
Pigment is available on PyPI:
$ python -m pip install pigment
Pigment officially supports Python 3.5+.