When we try to convert a color given by the colorgram.extract from RGB to HSL, the conversion is wrong. I tried multiple times and checked from different sources. i found that the conversion is wrong.
x = Rgb(r=53, g=57, b=64)
x.hsl = Hsl(h=154, s=23, l=58)
But the actual value is as per
218, 9.4% , 22.9%
You can check @ https://www.rapidtables.com/convert/color/rgb-to-hsl.html
When we try to convert a color given by the colorgram.extract from RGB to HSL, the conversion is wrong. I tried multiple times and checked from different sources. i found that the conversion is wrong.
x = Rgb(r=53, g=57, b=64)
x.hsl = Hsl(h=154, s=23, l=58)
But the actual value is as per
218, 9.4% , 22.9%
You can check @ https://www.rapidtables.com/convert/color/rgb-to-hsl.html