Convert RGB (Red, Green, Blue) to HSL (Hue, Saturation, Lightness)

color:rgb_to_hsl(INT $red, INT $green, INT $blue) : ARRAY

$x = color:rgb_to_hsl(224, 240, 246)
#=> [
#=>     "hue" => 196.0,
#=>     "saturation" => 0.55,
#=>     "lightness" => 0.92
#=> ]

Copyright ©2013-2022 SunSed®. All rights reserved.