
      RGB database. Python + PostgreSQL + PyGreSQL example.
      GPLed, free for use, distribution, etc. There are:

rgb_connect.py - module that hides connection detail; later if you want
   move/rename your database or programs, or add user/password, you just
   need to edit one file.

init_rgb.py - program that parses rgb.txt (from X11, not included here) and
   put table of colors into rgb database. The datasbe must exists, so run
   "createdb rgb" before init_rgb.py.

check_255.py - very simple program that checks whether color parts are (not)
   exceede 255.

init_rgb_checked.py - the same as init_rgb.py, but it combined with
   check_255.py.

rgb.cgi - CGI script that draws colors from rgb database and generates
   HTML table full of colors. The program wants one parameter "cube=N",
   where N is integer 1..8 - these are just 8 subcubes of big color cube.

Oleg.
---- 
    Oleg Broytmann     http://members.xoom.com/phd2/     phd2@earthling.net
           Programmers don't die, they just GOSUB without RETURN.
