Description Usage Arguments Examples
Collect hexidecimal colors
1 | redhat_colors(color, partial = FALSE, exclude = FALSE)
|
color |
The Red Hat color(s) to be converted. Either a single color name, or a vector of color names. |
partial |
A logical scalar. Do you want to match partial color names? |
exclude |
A logical scalar. Do you want get all colors that don't match the color? |
1 2 3 4 5 6 7 | # Get one color
x <- redhat_colors("Purple")
# Get a vector of colors
y <- redhat_colors(c("Storage 2", "Gray 3", "Red Hat Red", "Gray 10"))
z <- redhat_colors("Purple", partial = TRUE)
non_grays <- redhat_colors(c("Gray", "Black", "White"), partial = TRUE, exclude = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.