summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/ColorDB.py
Commit message (Expand)AuthorAgeFilesLines
* De-string-module-ification and other Python 2.x improvements.Barry Warsaw2001-07-101-29/+18
* Lots of changes to support loading alternative color name database.Barry Warsaw1999-04-261-27/+74
* Updated __main__ unit testBarry Warsaw1998-10-151-5/+10
* rrggbb_to_triplet(): When color doesn't start with `#' raise aBarry Warsaw1998-10-061-1/+2
* Updated docstring.Barry Warsaw1998-10-021-5/+12
* all_names(): => unique_names()Barry Warsaw1998-10-021-2/+12
* all_names(): Return just the unique names of rgb colorsBarry Warsaw1998-10-021-0/+11
* Changed interface for nearest() method to take individual red, green,Barry Warsaw1998-09-291-2/+1
* triplet_to_brightness(): New functionBarry Warsaw1998-09-281-0/+9
* Fixed unit testBarry Warsaw1998-09-251-6/+6
* rrggbb_to_triplet(), triplet_to_rrggbb(): Improvements given by GvRBarry Warsaw1998-02-181-8/+3
* Cache conversions from triplets to rrggbb's and vice versa. WastefulBarry Warsaw1998-02-181-13/+22
* triplet_to_pmwrgb(): New functionBarry Warsaw1998-02-131-0/+5
* __init__(): simplify, use tuple as key to __byrgb, lowercase __byname key.Barry Warsaw1998-02-111-22/+22
* Simplification of conversion routinesBarry Warsaw1998-02-111-22/+21
* BadColor: new exception classBarry Warsaw1998-01-311-3/+43
* Better implementation of nearest(). Not faster, but betterBarry Warsaw1998-01-311-1/+2
* Initial revisionBarry Warsaw1998-01-311-0/+151