isccNames: Standard Names for Colors

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/palettes.R

Description

The Inter-Society Color Council, in cooperation with the United States National Bureau of Standards, developed a list of 267 standardized color names. Many software tools (including R) also use a (non-standardized) list of color names derived from the original X11 list on early UNIX systems. We provide tools to convert hexadecimal colors to both sets of names.

Usage

1
2
isccNames(colorset)
colorNames(colorset)

Arguments

colorset

A character vector containing hexadecimal representations of colors.

Details

Each of the ISCC-NBS 267 standard color names is represented by the centroid of a region of CIE L*u*v* color space, all of whose points should be given the same name. Each of the color names listed by the colors function has an associated RGB color that can also be converted to L*u*v* space. These functions take colors represented in the common hexadecimal notation, maps them into L*u*v* color space, and assigns the name of the nearest ISCC centroid or UNIX/X11/R color.

Value

A character string containing the standard color name nearest (in CIE L*u*v* color space) to each input color.

Author(s)

Kevin R. Coombes <[email protected]>

References

Kelly KL. Twenty-Two Colors of Maximum Contrast. Color Eng., 1965; 3:26–7.

Also see the Inter-Society Color Council web site (http://www.iscc.org/) and the Texas Precancel Club (http://tx4.us/nbs-iscc.htm).

See Also

iscc, colors.

Examples

1
2
3

Example output

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 
 [1] "Vivid_Violet"          "Strong_Purplish_Blue"  "Light_Olive_Brown"    
 [4] "Vivid_Violet"          "Dark_Gray"             "Vivid_Green"          
 [7] "Vivid_Yellowish_Green" "Pale_Yellow"           "Purplish_White"       
[10] "Vivid_Yellowish_Green" "Strong_Reddish_Orange" "Brilliant_Purple"     
[13] "Vivid_Purple"          "Strong_Blue"           "Vivid_Orange_Yellow"  
[16] "Strong_Pink"           "Vivid_Yellow_Green"    "Vivid_Red"            
[19] "Brilliant_Green"       "Vivid_Blue"            "Vivid_Reddish_Purple" 
[22] "Strong_Reddish_Purple" "Vivid_Purplish_Red"    "Vivid_Purplish_Red"   
[25] "Vivid_Greenish_Yellow" "Vivid_Red"            
 [1] "purple"          "dodgerblue"      "goldenrod4"      "purple3"        
 [5] "gray34"          "seagreen"        "green"           "navajowhite"    
 [9] "gray89"          "springgreen3"    "tomato3"         "plum1"          
[13] "magenta"         "dodgerblue4"     "darkgoldenrod1"  "lightpink1"     
[17] "darkolivegreen3" "firebrick1"      "aquamarine"      "lightskyblue"   
[21] "darkmagenta"     "plum3"           "maroon1"         "violetred3"     
[25] "gold"            "deeppink"       

Polychrome documentation built on May 17, 2018, 3 p.m.