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: X11 Color Names
Famous quotes containing the word color:
“To face the garment of rebellion
With some fine color that may please the eye
Of fickle changelings and poor discontents.
Which gape and rub the elbow at the news
Of hurly-burly innovation.”
—William Shakespeare (15641616)