RandomColor.rgb
You're seeing just the function
rgb
, go back to RandomColor module for more information.
Generator a random color
Options
hue:
-:monochrome
,:red
,:orange
,:yellow
,:green
,:blue
,:purple
,:pink
luminosity:
-:dark
,:bright
,:light
,:random
format:
-:string
(default),:tuple
Output Format
string
-"rgb(221, 186, 95)"
tuple
-{221, 186, 95}
Examples
iex> RandomColor.rgb(hue: :red, luminosity: :light)