Struct Hsl

HSL values with hue in degrees and saturation/lightness as ratios.

struct Hsl(T)
  
if (is(T == float) || is(T == double));

Fields

NameTypeDescription
h THue in degrees. It may be raw/unbounded before conversion.
l TLightness ratio. The conventional range is [0, 1].
s TSaturation ratio. The conventional range is [0, 1].

Aliases

NameDescription
Scalar Scalar component type.