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