Web-Palette colors

I find that running javadoc in purely default settings generates html with colors that are not web-safe:

You are probably aware that Web Palette/web-safe colors are viewable on nearly all color systems and must be made up of combinations of the hex numbers: 00, 33, 66, 99, CC, FF.

the 'Light Mauve' color : #EEEEFF

and the 'Dark Blue' color: #00008B

are thus not Web Safe.

these would probably be dithered or approximated to one of the Web Palette colors.

This is not really a BIG ISSUE but if the documentation of a java program is to abide by the 'write once, run anywhere' philosophy then perhaps the default javadoc should generate Web Palette colors and sacrifice the aesthetics.

Yours,

Arjun

[766 byte] By [sen_arjun] at [2007-9-26 21:31:51]
# 1

We deliberated over the colors to use.

When we decided on colors, we first chose web-safe colors, but could

not find any background colors that were visible on both Solaris and

Windows, IE and Netscape, and that were not so strong as to distract

the reader. We ignored other platforms.

We decided to go with background colors that work on those systems,

and let those colors shift to other colors (mostly white) on other

platforms. It was more important that the colors look good on those

systems, than look worse, but be platform-independent, on all systems.

The web-safe palette just doesn't have a light and dark pair of blue

colors. It seems that over time, the web-safe palette will get

larger.

I'm curious, does this decision impact readability on any

particular system that you're aware of?

-Doug Kramer

Javadoc team

dkramer at 2007-7-3 21:32:07 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
The JavaDocs use CSS, so you can change the colors if you want from the one file. Or, It would not be unreasonable to make a different stylsheet for a specific machine if needed.
smhaus_net at 2007-7-3 21:32:07 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...