You are right Alan so I have implemented conversion routines based on the following
https://www.rapidtables.com/convert/color/hsl-to-rgb.html https://www.rapidtables.com/convert/color/rgb-to-hsl.html
I also found this site useful for checking results
http://www.workwithcolor.com/color-converter-01.htm
I will look into how GDIPlusX does its calculations for H, S and L. Do you have a link for these conversions in .NET?
Paul
I also found this site useful for checking results On 01/07/2022 09:17, Alan Bourke wrote:
I don't think its implementation of these methods is correct Paul, comparing with what .NET would return.
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---