rgb2hsl and hsl2rgb convertor
type Colorpub struct HSL {
hue : UInt
saturation : UInt
lightness : UInt
}pub struct HSLA {
hue : UInt
saturation : UInt
lightness : UInt
alpha : UInt
}fn hsl_to_rgb(h : Double, s : Double, l : Double) -> (Double, Double, Double)fn rgb_to_hsl(r : Double, g : Double, b : Double) -> (Double, Double, Double)