ImageEn, unit hyieutils
RGB2TColor
Declaration
function RGB2TColor(r, g, b: Integer): TColor;
Description
Converts R, G, B values to TColor.
Example
Panel1.Color := RGB2TColor(255, 0, 0); // Panel1.Color will be clRed
See Also
◼
CreateRGB
◼
TRGB2TColor
◼
RGB2TColor
◼
TColor2TRGB