get_hue method

On this page

get_hue

Returns the Hue‑Saturation‑Lightness (HSL) hue value, in degrees, for this Argb32Color instance; if R == G == B, the hue is meaningless and the method returns 0.

def get_hue(self):
    ...

Returns: float: The hue in degrees, or 0 if the color is achromatic.

See Also

On this page