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