This all started when looking for the color source for the canvas.Frame3d( rect,Framewidth, style), it obviously does not use the brush color or the canvas.brush given, unless this is some bug I have uncovered because I first paint the
surface with red and then use this function to draw a 3d look, but it uses a grey color for that instead?
Where is this color coming from I don't know, since I first set the canvas.brush.color then do the canvas.FillRect.
etc... this works.
But the same canvas.Frame3e(Rect, width, style) uses some other color not related to the canvas I am using...
Maybe bug who knows...
--- getting back ---
So I decided to use the Frame3D that specifies the upper and lower colors however, I need to calculate these
colors from the brush color I just used and found there is no ready made functions in the LCL/Graphics unit to
address levels for a TColor nor could did I see a Helper for the Tcolor..
Did I miss something or is this a good time to make a TColor helper ?