Last data update: 2014.03.03
|
R: Get a pretty random color.
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")
Results
|