col2hex | R Documentation |
Create colours from colour names in one easy step.
col2hex(x, alpha = 1)
x |
vector of colour names or hex strings |
alpha |
optional transparency value in [0,1], can be per colour in |
character string of hex colours
col2hex(c("aliceblue", "firebrick"), alpha = c(1, .5))
col2hex(c("#FFFFFF", "#123456FF"), alpha = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.