Alan
That solves GetHue() because Cast(loColor.GetHue() As Integer gives a result of 0, but what about DarkGray GetBrightness returning 38174 ?
Also DarkSalmon RGB(233,150,122) is returning: R = 0 G = 0 B = 0 Cast(GetHue() As Integer) = 0 Cast(GetSaturation() As Integer) = 0 Cast(GetBrightnes() As Integer) = 0
Paul
On 30/06/2022 16:31, Alan Bourke wrote:
Try Cast(loColor.GetHue() as Integer) or Cast(loColor.GetHue() as Numeric(12, 2)) ...
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---