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:
- Souce code and issues:
- Contact the author:
Jonathan Hartley, email: tartley at domain tartley.com, Twitter: @tartley.
Project details
Release history Release notifications | RSS feed
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.1.zip
(8.5 kB
view details)
colortuple-1.0.1.tar.gz
(5.6 kB
view details)
File details
Details for the file colortuple-1.0.1.zip
.
File metadata
- Download URL: colortuple-1.0.1.zip
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c22618e1c8f1ae13ccd5ab3f567d9cdc87c3c942711d1a7fba516eeb97e2c55c |
|
MD5 | b82d4f568962233f88d42e786d0321df |
|
BLAKE2b-256 | cdb3ea1150beee83817c8d54edbd989a1e00cac011e099d0fd14bc559a64e917 |
File details
Details for the file colortuple-1.0.1.tar.gz
.
File metadata
- Download URL: colortuple-1.0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285e0239069d100fa9872165ba0f5dcb6c50e43cdc8f42eb59141d349584116b |
|
MD5 | e4b730f74a25f705477a39dfc76d2ea1 |
|
BLAKE2b-256 | 5b9b61c03c161265214d383fa485312e8892b284eae3dd91e00f6a9b58bd1c53 |