Solved

How do you convert RGB to HSL?

Posted on 2002-07-27
10
1,111 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

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

Expert Comment

by:TOndrej
ID: 7182449
You're welcome.
0
 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi - replicating a form 8 81
Making delphi communicate with a c# service 16 111
RESTRequest Parameter 4 42
Delphi: making a BW image transparent 10 59
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 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