Skip to main content

A namedtuple for storing RGBA color values, along with a few simple methods for generating and modifying colors.

Project description

The module also contains lots of named colors, e.g. SeaGreen = Color(1, 2, 3), taken from the xkcd color survey.

Dependencies

Any operating system. Tested on Python 2.7, but ought to work on 3.x. No other dependencies.

Install

pip install colortuple

Known Problems

None.

Thanks

Raymond Hettinger for named tuples.

Contact

Documentation & download:
 http://pypi.python.org/pypi/colortuple/
Souce code and issues:
 https://github.com/tartley/colortuple/
Contact the author:
 Jonathan Hartley, email: tartley at domain tartley.com, Twitter: @tartley.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for colortuple, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size colortuple-1.0.2.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View
Filename, size colortuple-1.0.2.zip (8.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page