randomColor {randomcoloR} | R Documentation |
Get a pretty random color.
randomColor(count = 1, hue = c(" ", "random", "red", "orange", "yellow", "green", "blue", "purple", "pink", "monochrome"), luminosity = c(" ", "random", "light", "bright", "dark"))
count |
number of colors (>= 1) |
hue |
The hue of the colors to be selected. |
luminosity |
The luminosity of the colors to be selected. |
A character vector of random color hexadecimal codes.
randomColor() randomColor(hue="pink") randomColor(10, luminosity="light")