| alphacol | R Documentation | 
alphacol adds an alpha value to a colour specification and convert to
a hexadecimal colour string.
alphacol(col, alpha = FALSE)
col | 
 vector of any of the three kinds of R color specifications,
i.e., either a color name (as listed by   | 
alpha | 
 logical value indicating whether the alpha channel (opacity) values should be returned.  | 
a character vector of color specifications.
# Alphas
alphacol('red') # do nothing
alphacol('red', 10)
alphacol('#aabbcc', 5)
alphacol(4, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.