View source: R/is_valid_color.R
| is_valid_color | R Documentation |
pixiedust recognizes colors as dvips names,
rgb(R,G,B), rgba(R,G,B,A), #RRGGBB, or
#RRGGBBAA. This code returns a logical indicating if
the given character strings are valid.
is_valid_color(color)
is_valid_color_single(color)
color |
A character vector of color names. |
Returns a logical vector correctly identifying valid color formats.
Casts an error if color is not a character object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.