Am I doing this correctly?
For example, I have an RGB(165,165,165)
and convert it to the HSL(Get (0, 0, 64.7)).
Actually I parse xml, and there I have two parameters lumMod = '60 000' and lumOff = '40 000' (As I know it means that I must multiply the L component by 0.6 and then add 0.4 to the L component)
Okey new_l = 0.647*0.6 + 0.4 = 0.7882
And now I convert back from HSL(0, 0, 78.8) to RGB(198, 198, 198)
Actually I need get RGB(183,183,183). Because it's right answer. Where I was wrong?