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

t() :: %Chameleon.HSL{h: integer(), l: integer(), s: integer()}

Link to this section Functions

Specs

Creates a new color struct.

Examples

iex> _hsl = Chameleon.HSL.new(7, 8, 9)
%Chameleon.HSL{h: 7, s: 8, l: 9}