25 Apr
2008
25 Apr
'08
5:47 p.m.
On Fri, Apr 25, 2008 at 12:12 PM, Hystrix <ego@...2477...> wrote:
Hi, I need to convert an RGB color to HLS. Can somebody please help me find the code where Inkscape makes this conversion? Thanks in advance.
I'm not sure if this is exactly what you're looking for, but you can do the following:
1. Create any object (rectangle, circle, etc.)
2. Hit Ctrl-Shift-F to bring up the Fill and Stroke Dialog.
3. Select the RGB tab and enter in your RGB colour component values.
4. Then select the HSL tab and it should show you the HS&L values for the same colour.
RQ