Struct Hsv

HSV values with hue in degrees and saturation/value as ratios.

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

Fields

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

Aliases

NameDescription
Scalar Scalar component type.