View Source Colorex.HSL (Colorex v1.0.0)

Struct that represents a color in the HSL colorspace

Summary

Types

t()

A representation of a color in hue, saturation, lightness and alpha.

Types

t()

@type t() :: %Colorex.HSL{
  alpha: float(),
  hue: pos_integer(),
  lightness: float(),
  saturation: float()
}

A representation of a color in hue, saturation, lightness and alpha.