Comment 5 for bug 750503

Revision history for this message
Charlie (charlie-hahs) wrote : Re: [Bug 750503] Re: HSL color adjusting bars do not match RGB

Thank you very much for clarifying it for me.... I love using Inkscape!

Calculation example:
R 30 -> Hue 200° -> 200 / 360 * 255 = 141.67 -> 142
G 50 -> Saturation 33% -> 33 / 100 * 255 = 84.15 -> 85
B 60 -> Lightness 18% -> 18 / 100 * 255 = 45.9 -> 45

Please note that the Hue on the web page uses degrees ('°') - i.e. 360°
for the full range of color hues.

AFAICT there is nothing wrong with Inkscape's calcuations (there might
be differences how the values are rounded in the GUI).

Charlie Hahs
Diehl Controls Polska sp.z o.o.
pl. Wolnosci 7
50-071 Wroclaw
Phone: +48-71-77-49-768