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:
“The great God endows His children variously. To some he gives intellect—and they move the earth. To some he allots heart—and the beating pulse of humanity is theirs. But to some He gives only a soul, without intelligence—and these, who never grow up, but remain always His children, are God’s fools, kindly, elemental, simple, as if from His palette the Artist of all had taken one color instead of many.”
—Mary Roberts Rinehart (1876–1958)