View previous topic :: View next topic |
Author |
Topic : "RGB to HSL" |
wattie junior member
Member # Joined: 05 Oct 2001 Posts: 2
|
Posted: Fri Oct 05, 2001 8:47 pm |
|
![](templates/drizz/images/hrline.gif) |
Hi all,
I am having some problems converting RGB codes to HSL codes and vice versa. I found your forum and wondered if any of you would be able to help. I am not very good with the math and need some help with it. Would anyone know how to do this or where I would be best to go to find out? Any help any of you can give would be much appreciated. ![](images/smiles/icon_smile.gif) |
|
Back to top |
|
wattie junior member
Member # Joined: 05 Oct 2001 Posts: 2
|
Posted: Sat Oct 06, 2001 3:08 pm |
|
![](templates/drizz/images/hrline.gif) |
Oops. I meant HSB (Hue Saturation Brightness), not HSL. Sorry about that. ![](images/smiles/icon_smile.gif) |
|
Back to top |
|
Pat member
Member # Joined: 06 Feb 2001 Posts: 947 Location: San Antonio
|
Posted: Mon Oct 08, 2001 12:31 pm |
|
![](templates/drizz/images/hrline.gif) |
HSB colors are reported by Photoshop in the color picker. Simply pick any RGB color you're happy with and look at the HSB column for the equivilant values.
As far as I can tell, there are 360 values to the Hue (which correspond to neatly to a complete color circle) and 100 for both Saturation and Brightness.
-Pat |
|
Back to top |
|
Frost member
Member # Joined: 12 Jan 2000 Posts: 2662 Location: Montr�al, Canada
|
Posted: Mon Oct 08, 2001 11:09 pm |
|
![](templates/drizz/images/hrline.gif) |
Is this a programming question? |
|
Back to top |
|
|