hi richard~
i'm sorry to tell you you've asked the wrong person.  i just signed up an hr ago, & didn't get as far as sending an email to ask how i get started & to the place to do artwork. i've used computer cad programs (only 2)    for techinical illustrations on how to put the garment together. for work as a patternmaker in the garment industry, & "Paint" for designing jewelry, & misc. other item for mass production, & limited graphics...so i'm trying to learn this....so if you feel like being the brilliant one....sometime when you have the time...."how the heck do i start on inkscape..."
sorry & thanks & good luck on getting your questions answed.
sincerely~artsygirl 



Date: Fri, 25 Apr 2008 17:48:40 -0300
From: ego@hystrix.com.ar
To: inkscape-user@lists.sourceforge.net
Subject: Re: [Inkscape-user] RGB to HLS

I'm trying to write a script that takes a color palette and reorders its colors in some predefined way. To do this I'd like to have the colors arranged acording to the luminance value and then to the hue value but the colors in the palette file are in RGB so first I need to calculate the HLS values.
That's why I'd like to see the code Inkscape uses to change from the RGB to HLS.

On 4/25/08, Richard Querin <rfquerin@gmail.com> wrote:

On Fri, Apr 25, 2008 at 12:12 PM, Hystrix <ego@hystrix.com.ar> 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


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Inkscape-user mailing list
Inkscape-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user




--
Hystrix


Back to work after baby– how do you know when you’re ready?