Description Usage Arguments Details Value Examples
Generate random colors
1 | rand_color(n = 1, transparency = 0)
|
n |
number of colors |
transparency |
transparency, numeric value between 0 and 1 |
Colors are randomly generated from RGB color space through uniform distributions.
a vector of colors
1 2 | rand_color(10)
rand_color(10, transparency = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.