A namedtuple for storing RGBA color values, along with a few simple methods for generating and modifying colors.
The module also contains lots of named colors, e.g. SeaGreen = Color(1, 2, 3), taken from the xkcd color survey.
Any operating system. Tested on Python 2.7, but ought to work on 3.x. No other dependencies.
pip install colortuple
Raymond Hettinger for named tuples.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.