I'm jumping into this thread half-blind, is the end goal passing in a color name to get a color? if so, the W3C has an RGB color spec used in SVG that is "supposed" to be a standard.
If that's not what this thread is about, ignore me. Bill Ensley Bear Printing > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Bruno > Lowagie > Sent: Sunday, August 21, 2005 8:28 AM > To: Peter B. West > Cc: [EMAIL PROTECTED] > Subject: Re: [iText-questions] RGBColors > > > Peter B. West wrote: > > > Bruno, > > > > I just noticed RGBColors.java. > > > http://cvs.sourceforge.net/viewcvs.py/defoe/Folio/src/java/au/id/p bw/folio/datatypes/ColorType.java?view=markup > > has the X11 set, as in > http://peterbwest.bulldoghome.com/pages/peterbwest_bulldoghome_com/rgb.html > > > Different format, but nothing regular expressions can't handle. I needed conversion from colorname to Color real fast. So I consulted Wikipedia and parsed the page containing RGB color values into a Java class file as that was the quickest way to get what I needed. The class isn't even released yet. The class you are referring to looks interesting. Maybe I should replace the RGBColors class by a similar one. br, Bruno ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions