colAlpha | R Documentation |
Adds an alpha channel (i.e. transparency) to a predefined color
colAlpha(color, alpha)
color |
a predefined color string (e.g. "firebrick") |
alpha |
a number between 0 and 1 for the alpha channel value |
the corresponding color with the added alpha channel value
transparentChartreuse <- colAlpha("chartreuse3",0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.