import colorsys


def hsl_to_rgb(hsl):
    """Convert hsl colorspace values to RGB."""
    # Convert hsl to 0-1 ranges.
    h = hsl[0] / 359.
    s = hsl[1] / 100.
    l = hsl[2] / 100.
    hsl = (h, s, l)
    # returns numbers between 0 and 1
    tmp = colorsys.hls_to_rgb(h, s, l)
    # convert to 0 to 255
    r = int(round(tmp[0] * 255))
    g = int(round(tmp[1] * 255))
    b = int(round(tmp[2] * 255))
    return (r, g, b)