named_colors including 4507 entries from Git "meodai/color-names"
v11.0.0, and 436 entries from R colors()
.
Format
a character
vector with length 4943, containing
hexadecimal colors named with human-assigned color names.
Note that R colors are preceded by "R" in the name, for
example "Rgreen2", and only include colors not already
present in "meodai/color-names"
.
Processing
Named colors were obtained from the amazing Github repository meodai/color-names. This resource provided 30200 total named colors. A subset of 4507 color names were denoted "good names" and were included here.
R colors from grDevices::colors()
whose hex values were not already
included in the Meodai resource were added, after removing identical
hex colors such as "darkred"
and "red4"
.
These R colors were named with prefix "R"
so labels such as
"darkred"
became "Rdarkred"
. The "R"
prefix was used to avoid
name clashes, and to permit the Meodai color names to take precedence
whenever the same name was used in both resources.
The Meodai resource seemed visually preferable to similarly-named
R grDevices::colors()
such as "brown"
, and "chartreuse"
,
however there could be benefit in using R color names since they
appear to match the W3C color name standard used by HTML and CSS.
See also
Other colorjam data:
jam_divergent
,
jam_linear