get_hue method

get_hue(self)

Gets the hue-saturation-lightness (HSL) hue value, in degrees, for this color.

Returns

The hue, in degrees, of this color. The hue is measured in degrees, ranging from 0.0 through 360.0, in HSL color space. Returns 0.0 for shades of gray.

def get_hue(self):
    ...

See Also