hex_to_rgba | R Documentation |
Transform colors from hexadecimal format to rgba hc notation
hex_to_rgba(x, alpha = 1)
x |
colors in hexadecimal format |
alpha |
alpha |
hex_to_rgba(x <- c("#440154", "#21908C", "#FDE725", "red"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.