Color Name Clashes
Perhaps most unusual of the color clashes between X11 and W3C is the case of ‘Gray’. In HTML, ‘Gray’ is specifically reserved for the 128 triplet, i.e. 50% gray . However, in X11, ‘gray’ was assigned to the 190 triplet, i.e. 75% , which is close to W3C ‘Silver’ , and had ‘Light Gray’ at 211 and ‘Dark Gray’ at 169 counterparts. This resulted in W3C’s ‘Gray’, at 50%, actually being significantly darker than ‘Dark Gray’, at 66%.
The W3C also defined a color that is equal to X11’s ‘Green’, but called it ‘Lime’.
Color name | X11 color | W3C color | ||||||
---|---|---|---|---|---|---|---|---|
red | green | blue | Sample | Sample | red | green | blue | |
Gray | 75% | 75% | 75% | 50% | 50% | 50% | ||
Green | 0% | 100% | 0% | 0% | 50% | 0% | ||
Maroon | 69% | 19% | 38% | 50% | 0% | 0% | ||
Purple | 63% | 13% | 94% | 50% | 0% | 50% |
Read more about this topic: Dark Green
Famous quotes containing the word color:
“He could jazz up the map-reading class by having a full-size color photograph of Betty Grable in a bathing suit, with a co- ordinate grid system laid over it. The instructor could point to different parts of her and say, Give me the co-ordinates.... The Major could see every unit in the Army using his idea.... Hot dog!”
—Norman Mailer (b. 1923)