[racket] Color names in the-color-database
On Nov 21, 2011, at 8:16 AM, Matthew Flatt wrote:
> At Sun, 20 Nov 2011 22:26:57 -0500, Nadeem Abdul Hamid wrote:
>> Is there a convenient way to get a list of the color names in
>> the-color-database (in racket/draw)? I see the 'colors' hash table
>> defined in collects/racket/draw/private/color.rkt but don't see any
>> way to access it to extract the key values.
The INconvenient way to get the color names is to look up color-database<%> in the Help Desk...
but that doesn't give you a list that you can process programmatically.
Stephen Bloch
sbloch at adelphi.edu