isccNames: Standard Names for Colors

View source: R/palettes.R

isccNamesR Documentation

Standard Names for Colors

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

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 <krc@silicovore.com>

References

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

Also see the Inter-Society Color Council web site (https://iscc.org/).

See Also

iscc, colors.

Examples

data(alphabet)
isccNames(alphabet)
colorNames(alphabet)

Polychrome documentation built on May 3, 2022, 9:07 a.m.