random_rgb_palette | R Documentation |
This function will randomly generate N colors from the rgb colorspace. It makes no attempt at ensuring the colors are distinct or well separated.
random_rgb_palette(n, alpha = 1)
n |
numeric. Number of random colors to generate |
alpha |
numeric. Transparency level of color palette (0-1). Default 1.0 |
vector of hex values for RGB colors of length n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.