Solved

How do you convert RGB to HSL?

Posted on 2002-07-27
10
1,100 Views
Last Modified: 2012-05-04
How do you convert RGB to HSL?
0
Comment
Question by:cdbsi
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 8

Expert Comment

by:TOndrej
ID: 7181737
see ColorRGBToHLS in GraphUtil
0
 
LVL 3

Expert Comment

by:LukA_YJK
ID: 7181758
Unit GraphUtil from Delphi6:

procedure ColorRGBToHLS(clrRGB: COLORREF; var Hue, Luminance, Saturation: Word);

Hope it will help...
0
 
LVL 14

Accepted Solution

by:
sudhakar_koundinya earned 0 total points
ID: 7182028
LukA_YJK's answer is appropriate

KOUNDINYA :)



0
 

Author Comment

by:cdbsi
ID: 7182325
Thanks guys . . .
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 7182449
You're welcome.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 27

Expert Comment

by:kretzschmar
ID: 7184799
? curious graded answer
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 7184834
Indeed.
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7186504
Per request in http://www.experts-exchange.com/commspt/Q_20329343.html points removed to the following question:

LukA_YJK: points for you at http://www.experts-exchange.com/jsp/qShow.jsp?ta=delphi&qid=20329748

Netminder
CS Moderator
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 7189642
cdbsi,

check the user link before grading the answer.May be this is accidental :)

cheers
Koundinya`
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7191314
cdbsi,

Your account has been suspended pending your reply to Admin.

Netminder
CS Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now