def from_paletton_hue_to_rgb(hue, paletton):
    """
    Gets rgb tuple from hue on paletton color_wheel
    0 <= hue < 360
    >>> p = Paletton()
    >>> from_paletton_hue_to_rgb(255, p)
    (27, 27, 179)
    >>> from_paletton_hue_to_rgb(257, p)
    (31, 26, 178)
    """

    hue = round(hue)
    return paletton.EXPANDED_COLOR_WHEEL[hue]