POSC Reference Data Information

Information on Color Reference Data

General Comments

The list of colors are taken from the Xlib Reference Manual for version 11 of the X Windows System. The latest (Epicentre v2.1) is updated from v2.0 to include the full list of colors from the Manual.

The latest list includes 501 different colors. 500 are from the X Windows Manual, and one (transparent) is added.

Since there are many duplicates in terms of the RGB specification of the colors, it was necessary to record these duplicates in the ref_code_alias entity. Ref_code_alias includes 494 alias color names.


The naming options

The Xlib color list gives various options for naming a color. Take for example, the color, 'Dodger Blue'.

The Xlib reference book gives the following choices:

In addition, there are four shades listed, the first of which has the same RGB definition of Dodger Blue. This gives a third choice:

Finally, the implementation uses all lower case with no spaces. This gives more possibilities:

All five of these names share the same RGB definition. (Note: not all colors allow for all five choices). The main term chosen for Epicentre is of the form:

The other four are given in ref_code_alias.

There are cases where the four shades do not match the original definition. For example, AntiqueWhite is different than AntiqueWhite1. So these lead to the two instances:

Whenever there are shades given, there are four. For example:

As mentioned, since DodgerBlue matches, DodgerBlue1, the four instances that are given as the ref_color instances in Epicentre are:

Of course, the other "names" for the same RGB pattern are always given in ref_code_alias.

When a color matches a xxx2, xxx3, or xxx4, the xxxN is used. For example, YellowGreen has the same RGB as OliveDrab3. The instances in ref_color are

YellowGreen is given as an alias of OliveDrab3.

Grays

Whenever a color involves "gray", an alternate is given using "grey". In all cases, the "gray" is used as the ref_color instance, and the "grey" is used as an alias. Thus, the ref_color instance will be:

and aliases will be:

Also, there are 101 scales of gray (equal parts of RGB) defined. They vary from white = gray100 (100 percent white, 0 percent black) to black = gray0 (0 percent white, 100 percent black). Epicentre instantiates white, with gray100 as an alias for white, and black, with gray0 as an alias for black. It also instantiates gray1 -> gray99. In a few cases, these RGB values correspond to other named colors. For example, DimGray corresponds to gray41. In Epicentre, gray41 is the ref_color instance, and DimGray is an alias.

As with other grays, grey0 --> grey100 are all defined as aliases.


Reference Homepage


POSC Home Page
Added: September 17, 1996. Send questions and comments to webmaster@posc.org

Copyright © 1994, 1995, 1996 Petrotechnical Open Software Corporation. All rights reserved.
POSC ® and the POSC logo ® are registered trademarks and Epicentre (TM) is a trademark of Petrotechnical Open Software Corporation.