RandomColor.hsla
You're seeing just the function
hsla
, 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
-"hsl(139, 82.32%, 71.725%)"
tuple
-{139, 82.32, 71.725}
Examples
iex> RandomColor.hsl(hue: :yellow, luminosity: :light)