RandomColor.rgba
You're seeing just the function
rgba
, 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
alpha
a value between 0.0
and 1.0
Output Format
string
-"rgba(221, 186, 95, 0.1)"
tuple
-{221, 186, 95, 0.1}
Examples
iex> RandomColor.rgba([hue: :purple], 0.8)