Chameleon.HSL (chameleon v2.5.0) View Source
Link to this section Summary
Functions
Creates a new color struct.
Link to this section Types
Specs
Link to this section Functions
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}