def hls_to_rgb(h, l, s):
    if s == 0.0:
        return l, l, l
    if l <= 0.5:
        m2 = l * (1.0+s)
    else:
        m2 = l+s-(l*s)
    m1 = m2 - 2.0*l
    return (_v(m1, m2, h+ONE_THIRD), _v(m1, m2, h), _v(m1, m2, h-ONE_THIRD))
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/colorsys.py/hls_to_rgb/swapped operands of `-`