from_hsv method

from_hsv

Returns a new Color with the requested hue, saturation, value.

Returns

A new instance of the Color class

def from_hsv(self, hue, saturation, value):
    ...
ParameterTypeDescription
huefloatA float that represents the hue component of the color.
saturationfloatA float that represents the saturation component of the color.
valuefloatA float that represents the value component of the color.

See Also