Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.

Responsive image


X11 color names

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 was traditionally shipped with every X11 installation, hence the name, and is usually located in <X11root>/lib/X11/rgb.txt. The web colors list is descended from it but differs for certain color names.[1]

Color names are not standardized by Xlib or the X11 protocol. The list does not show continuity either in selected color values or in color names, and some color triplets have multiple names. Despite this, graphic designers and others got used to them, making it practically impossible to introduce a different list. In earlier releases of X11 (prior to the introduction of Xcms), server implementors were encouraged to modify the RGB values in the reference color database to account for gamma correction.[2]

As of X.Org Release 7.4 rgb.txt is no longer included in the roll up release,[3] and the list is built directly into the server.[4] The optional module xorg/app/rgb contains the stand-alone rgb.txt file.

The list first shipped with X10 release 3 (X10R3) on 7 June 1986, having been checked into RCS by Jim Gettys in 1985.[5] The same list was in X11R1 on 18 September 1987. Approximately the full list as is available today shipped with X11R4 on 29 January 1989, with substantial additions by Paul Ravelling (who added colors based on Sinclair Paints samples), John C. Thomas (who added colors based on a set of 72 Crayola crayons he had on hand) and Jim Fulton (who reconciled contributions to produce the X11R4 list). The project was running DEC VT240 terminals at the time, so would have worked to that device.[6]

In some applications multipart names are written with spaces, in others joined together, often in camel case. They are usually matched insensitive of case and the X Server source code contains spaced aliases for most entries; this article uses spaces and uppercase initials except where variants with spaces are not specified in the actual code.

  1. ^ Tveten, Julianne (October 11, 2015). ""Tomato" versus "#FF6347"—the tragicomic history of CSS color names". Ars Technica. Retrieved October 11, 2015.
  2. ^ Nye, Adrian (1990). Xlib programming manual : for version 11 of the X Window System (2nd ed. covers release 3 and release 4, major revisions. ed.). [Sebastapol, CA]: O'Reilly & Associates. ISBN 0-937175-11-0.
  3. ^ "ModuleVersions". Retrieved 2014-08-21.
  4. ^ Stone, Daniel (5 November 2007). "Remove all traces of external RGB database (and Speedo)". Retrieved 2014-08-26.
  5. ^ "~alanc/xc-historical - Partial/incomplete import of X consortium historical RCS up to X11R6.0". freedesktop.org.
  6. ^ Sexton, Alex (12 March 2014). "Last call comments on CSS3 module: color". [email protected] mailing list. World Wide Web Consortium. Retrieved 12 March 2014.

Previous Page Next Page






Noms de couleur X11 French X11の色名称 Japanese X11 색 이름 Korean Nomes de cores no X11 Portuguese Список цветов в X11 Russian X11 renk adları Turkish

Responsive image

Responsive image