Color.from_hsv

classmethod Color.from_hsv(h, s, v)

Construct a color from Hue, Saturation, and Value.

Parameters
  • h (float) – Hue.

  • s (float) – Saturation.

  • v (float) – Value.

Returns

Color

See also

https

//en.wikipedia.org/wiki/HSL_and_HSV