chameleon v2.1.0 Chameleon.HSV

HSV (hue, saturation, value) represents colors using a cylinder where colors are sorted by angles and then adjusted via the saturation and value parameters.

See Chameleon.HSL for a related, but different colorspace.

Link to this section Summary

Functions

Create a new HSV color

Link to this section Types

Link to this type degrees()
degrees() :: 0..360
Link to this type percent()
percent() :: 0..100
Link to this type t()
t() :: %Chameleon.HSV{h: degrees(), s: percent(), v: percent()}

Link to this section Functions

Create a new HSV color.