human
I wrote the below code

    hue = ((hue / 360) % 1)
    saturation = min(1, max(0, (saturation / 100)))
    lightness = min(1, max(0, (lightness / 100)))
    def hue_to_rgb(m1, m2, h):
        if (h < 0):
            h += 1
        if (h > 1):
            h -= 1
        if ((h * 6) < 1):
            return (m1 + (((m2 - m1) * h) * 6))
        if ((h * 2) < 1):
            return m2
        if ((h * 3) < 2):
            return (m1 + (((m2 - m1) * ((2 / 3) - h)) * 6))
        return m1
    if (lightness <= 0.5):
        m2 = (lightness * (saturation + 1))
    else:
        m2 = ((lightness + saturation) - (lightness * saturation))
    m1 = ((lightness * 2) - m2)
    return (hue_to_rgb(m1, m2, (hue + (1 / 3))), hue_to_rgb(m1, m2, hue), hue_to_rgb(m1, m2, (hue - (1 / 3))))

What's a good function header?
assistant
#Here's a good function header.

def hsl_to_rgb(hue, saturation, lightness):