GIFImg.TGIFColorMap.RGB2Color
From RAD Studio VCL Reference
Delphi Information
From GIFImg.pas
class function RGB2Color(Color: TGIFColor): TColor;
Unit: GIFImg
Type: method
Visibility: public
Member Of: TGIFColorMap
Description
Converts a RGB value to a Windows color value.
RGB2Color converts the RGB value of TColor type, specified through the Color argument, to its Windows color value equivalent, and returns the result as a TGIFColor type value.
To convert from a Windows color value to a RGB value, use the Color2RGB method.