colors.have.transparency | R Documentation |
Check for the given color strings whether they have transparency, i.e., an alpha channel value != fully opaque.
colors.have.transparency(col_strings, accept_col_names = TRUE)
col_strings |
vector of RGB(A) color strings, like |
accept_col_names |
logical, whether to accept color names like 'white'. Disables all sanity checks. |
logical vector
colors.have.transparency(c("#FFFFFF", "#FF00FF", "#FF00FF00", "red", "#FF00FFDD"));
all((colors.have.transparency(c("#FFFFFF00", "#ABABABAB"))));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.