Graphics.ColorToRGB
From RAD Studio VCL Reference
Contents |
Delphi Information
From Graphics.pas
function ColorToRGB(Color: TColor): Integer;
Unit: Graphics
Type: function
Visibility: public
C++ Information
From Graphics.hpp
int __fastcall ColorToRGB(Graphics::TColor Color);
Unit: Graphics
Type: function
Description
Converts a TColor value into an RGB representation of the color.
Call ColorToRGB to obtain an RGB representation of a color for using with Windows API calls. ColorToRGB strips away the information that is stored in the highest order bits about which palette to use for colors that are not always available.
See Also
Code Samples