Hugo,
Thank you for sharing your code examples.
> I found a Microsoft article on how to change from RGB to HSL and I wrote a Color class to deal with several of this types of transformations
Here's an interesting link from Sergey as posted in Thread #
967748.
How To Converting Colors Between RGB and HLS (HBS)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q29240> I use the Hue trick to highlight the selected record in a grid when the backcolor depends on the records, for example some records are red-ish some are green-ish etc, the to highlight the current color I change the HUE to make the selected record brighter.
What a great idea! I always wondered how some applications managed to do this.
Thanks again for your help, Hugo!
Malcolm