[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

ColorToRGB

Converts a TColor value to an RGB color constant.

Declaration

Source position: graphics.pp line 1935

function ColorToRGB(

  Color: TColor

):LongInt;

Arguments

Color

  

TColor value converted in the method.

Function result

LongInt value representing the specified color.

Description

ColorToRGB ensures that TColor values for special and system colors remove the non-RGB values in the constant.


Version 3.2 Generated 2024-02-25 Home