getCiLegendColors | R Documentation |
Helper to calculate ci colors for legends
getCiLegendColors(color, n = 1, alpha = NULL)
color |
The color of the ci band |
n |
The number if ci bands |
alpha |
The alpha/transparency of the ci band |
Color may be specified as either a named color or a hex value Transparency may be specified as a hex value, number 0-255 or number 0-1
A vector of non-transparent colors that result from oberlaying color over pure white 1:n times
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.