function to output color from a HSL (hue, saturation, lightness) palette.
Versionshinweise:
forgot reference, +minor stuff
Versionshinweise:
fixed a error in the rgb_to_hsl conversion algo, Thanks to @Lord_Voldemort for spotting it.
Versionshinweise:
fix to hsl function..
Versionshinweise:
rgb_to_hsl: a few colors still produced saturation, lightness above 100, this should be the final fix for it x_x ..