Hi all,

On Friday evening I asked if anybody knew of an X11 rgb.txt
file which had all the usual colour names but only defined
256 or less combinations of red, green and blue.

Nobody was able to answer that so I spent a couple of hours
over the weekend writing a Python program which reads the
rgb.txt file and generates a new file to meet the above 
requirements. The rgb.txt file works a treat on my laptop.

Anyway, here's the program:

    http://www.zip.com.au/~erikd/Python/rgboptimise

Cheers,
Erik
-- 
+-------------------------------------------------+
     Erik de Castro Lopo     [EMAIL PROTECTED]
+-------------------------------------------------+
"The worst thing about productivity tools is that there's 
always something in them that makes you less productive" 
 -- Chris Alfred Dec 15, 1997


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to