set_col {tokenbrowser} | R Documentation |
Transpose a color into the string format used in html attributes
set_col(col, alpha = 1)
col |
The name of the color |
alpha |
Optionally, the alpha (transparency), with 0 being fully transparent and 1 being fully colorized. |
The string used to specify a color in an html tag attribute
set_col('red') set_col('red', alpha=0.5)