![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
X11 color namesFrom Wikipedia, the free encyclopedia
In computing, on the X Window System, X11 color names are represented in a simple text file, which maps certain strings to RGB color values. It is shipped with every "X" installation, hence the name, and is usually located in It is not known who originally compiled the list. The list shows a continuity neither in selected color values nor in color names, and many color triplets have multiple names. Despite this, graphic designers and others got used to them, making it practically impossible to introduce a more stringent and logical alias list. The first versions of Mosaic and Netscape Navigator used the X11 colors as the basis for the Web colors list, as both were originally X applications.
ChartsThese charts are not a standard set of colors to be found on any X Window system. Rather it is the standardised "X11 colors" accepted by browsers following the HTML and CSS standards. This set is cut down and rationalised, and has a few differences from a typical rgb.txt file (especially, Green is different).[2] RGB values shown are normalised to the range 0 to 255. Almost the exact same color names are used in .NET Framework, in the KnownColor and Color enumerations. The only color difference is DarkSeaGreen which is defined as 8F,BC,8B (instead of 8F,BC,8F). Color names that clash between X11 and HTML/CSSPerhaps most unusual of the color clashes is the case of "gray." In HTML, "gray" is specifically reserved for 127,127,127. However, in X11, "gray" was assigned to 190,190,190 (close to HTML's "silver"), and had "lightgray" (211,211,211) and "darkgray" (169,169,169) counterparts. This resulted in HTML's "gray," at 127, actually being significantly darker than "darkgray," at 169.
Color names identical between X11 and HTML/CSS
Shades of grayThe list shown above covers only the colors supported by popular browsers as defined for JavaScript 1.1[3] and before. Some browsers like Netscape navigator insisted on an a in any gray except for lightgrey. The complete rgb.txt defines 101 shades from gray0 (black) up to gray100 (white) in addition to gray and its variants listed above. The shades are apparently defined by the formula On the other hand gray #BEBEBE (190) lies between gray74 #BDBDBD (189) and gray75 #BFBFBF (191), darkgray #A9A9A9 (169) isn't the same as gray66 #A8A8A8 (168), and lightgrey #D3D3D3 (211) isn't the same as gray83 #D4D4D4 (212). Color variationsFor 78 colors as listed above, rgb.txt offers four variants "color1", "color2", "color3", and "color4", with "color1" corresponding to "color", so e.g. "snow1" is the same as "snow". These variations are neither supported by popular browsers nor adopted by W3C standards.
See alsoReferencesExternal links
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||