For example, h=0, l=100, s=50 gives an RGB value of (128, 127, 128). Please see my fork for a correct implementation of hls_to_rgb.