Madhavendra Sharma added the comment: Please check examples in en.wikipedia.org/wiki/HSL_and_HSV
I picked one of them for R = .750, B=0.250, G=0.750 corresponding HLS value are H= 300 = (5.0 * 60) , L = .5, S=.5 but colorsys.rgb_to_hls(0.75 , 0.25, 0.75) gives following output (0.8333333333333334, 0.5, 0.5) h*60 = 0.8333333333333334 * 60 is not equal to 300 correct out put should be (5.0, 0.5, 0.5) or if h is multiplied by 60 then (300, 0.5, 0.5) Thank you. Madhavendra Sharma ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29629> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com