SelectCrayons: Select crayon colors

View source: R/SelectCrayons.R

SelectCrayonsR Documentation

Select crayon colors

Description

Copyright (C) 2018 Karl Broman GNU General Public License, version 3, available at https://www.r-project.org/Licenses/GPL-3

Usage

SelectCrayons(color_names = NULL, ...)

Arguments

color_names

Optional vector of color names; can be partial matches.

...

Additional optional color names.

Details

Vector of colors selected from Crayola crayons. It is essentially a copy (with some minor tweaks) from Karl Broman's brocolors.R function: https://github.com/kbroman/pkg_primer/blob/gh-pages/example/stage5/R/brocolors.R

Value

Vector of named RGB colors.

References

http://en.wikipedia.org/wiki/List_of_Crayola_crayon_colors

https://github.com/kbroman/broman/blob/master/R/brocolors.R

http://kbroman.org/blog/2017/05/02/crayon-colors-simplified/

See Also

PlotCrayons, PlotColors

Examples

SelectCrayons("purple m")
SelectCrayons(c("purple m", "tickle"))
SelectCrayons("purple m", "tickle")


leftygray/LeftysRpkg documentation built on Feb. 11, 2024, 5:13 p.m.