>Michel,
>
>I've read someplace that there are something like 216 (not sure of the exact number) web safe colors. So while you can generate 256 different colors you might want to choose from a subset of your total color choices.
>
>Perhaps someone can jump in here and point to a reference on safe web color choices.
>
>BTW: I believe there's an actual list of specific color choices - both specific RGB colors and I think(?) specific (standard?) names for each color.
>
>Malcolm
>
>PS: Cetin - I like your solution!
>
>>>You could either use something like this or get HTML directly from MSDN help (named colors)
The list of colors was easy to construct in hex values.
The RGB hex list contain all combinations of 00,33,66,99,CC,FF.
(decimal:0,51,102,153,204,255)
#000000
#000033
#000066
...
#3366FF
#339900
#339933
#339966
...
#CC0000
#CC0033
#CC0066
...
#FFFF99
#FFFFCC
#FFFFFF
HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca