HsvColor constructor

const HsvColor(
  1. num h,
  2. num s,
  3. num v
)

Creates a HsvColor using a vector describing its hue, saturation, and value.

The hue is given as a number in degrees, typically ranging in value between 0 and 360. Values outside of this converted as hue % 360 to be fit into the standard angle range.

The saturation is given as a percentage between 0 and 100 (inclusive).

The value is given as a percentage between 0 and 100 (inclusive).

Implementation

const HsvColor(this.h, this.s, this.v);