Solved

How do you convert RGB to HSL?

Posted on 2002-07-27
10
1,096 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
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.

762 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

20 Experts available now in Live!

Get 1:1 Help Now