Description Usage Arguments Value See Also Examples
is.color
checks whether or not the given input is a valid
color
is.hex.color
checks whether input is a valid hex color
(with or without alpha component)
is.named.color
checks whether input is a valid named
color
1 2 3 4 5 | is.color(x, allow_alpha = TRUE)
is.hex.color(x, allow_alpha = TRUE)
is.named.color(x)
|
x |
Vector containing either:
|
allow_alpha |
Whether or not alpha parameters are allowed in hex color
strings (default: |
Boolean indicating whether or not the given input is a valid color
1 2 | is.color('turquoise2')
is.hex.color('#8BADF00D')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.