Chameleon.HSL (chameleon v2.3.0)
Link to this section Summary
Functions
Creates a new color struct.
Link to this section Types
Specs
Link to this section Functions
Link to this function
new(h, s, l)
Specs
new(non_neg_integer(), non_neg_integer(), non_neg_integer()) :: t()
Creates a new color struct.
Examples
iex> _hsl = Chameleon.HSL.new(7, 8, 9)
%Chameleon.HSL{h: 7, s: 8, l: 9}