import colorsys


def hsl_to_rgb(h, s, l):
    """
    Converts HSL to RGB.

    Parameters
    ----------
    h: :class:`int`
        The hue value in the range ``[0, 360]``.
    s: :class:`float`
        The saturation value in the range ``[0, 1]``.
    l: :class:`float`
        The lightness value in the range ``[0, 1]``.

    Returns
    -------
    Tuple[:class:`int`, :class:`int`, :class:`int`]
        The RGB tuple.
    """

    h /= 360

    r, g, b = colorsys.hls_to_rgb(h, l, s)

    r = int(round(r * 255, 0))
    g = int(round(g * 255, 0))
    b = int(round(b * 255, 0))

    return (r, g, b)