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.

Source Distributions

colortuple-1.0.0.zip (8.5 kB view details)

Uploaded Source

colortuple-1.0.0.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file colortuple-1.0.0.zip.

File metadata

  • Download URL: colortuple-1.0.0.zip
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for colortuple-1.0.0.zip
Algorithm Hash digest
SHA256 1dd17d9c4ff0960d88a67f06816ddc740643cba06140d1f99a765f9e78b5e6ea
MD5 6e22c205ae6409e6c2b13098d5008010
BLAKE2b-256 34462e359d7472600b3e4d700cbbac64d59d6309317d0fa92d4190cd8ccf134d

See more details on using hashes here.

File details

Details for the file colortuple-1.0.0.tar.gz.

File metadata

  • Download URL: colortuple-1.0.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for colortuple-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8cba63a3e0dcf2cc5b7daa08303c4b614645fefe7028dc92092a413ad2b8b38a
MD5 87b603196b89750574ccf55f89072986
BLAKE2b-256 f972341a53b7452290556eacd6ce457654a6e3b5a2df53ad63240f18f1ebe9d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page