Convert the rgb.txt file to a database for fast lookup. An example of
the rgb.txt file is:

255 250 250     snow
248 248 255     ghost white
248 248 255     GhostWhite
245 245 245     white smoke
245 245 245     WhiteSmoke
220 220 220     gainsboro
255 250 240     floral white
255 250 240     FloralWhite
253 245 230     old lace
253 245 230     OldLace


The program makes the name of the color as key and Red, Green and Blue
componets as value.

--
muquit
Aug-16-1999
