Color32

function Color32(R, G, B: Byte; A: Byte = $FF): TColor32; overload;

This function combines its parameters into a 4-byte TColor32.

function Color32(WinColor: TColor): TColor32; overload;

This function provides conversion of TColor into TColor32.

The pixel format of 32-bit DIBs (ARGB) is different from that used in the standard TColor type (ABGR). Some standard windows colors are coded using special constants which are encoded into RGB form.

The alpha of the resulting color is set to $FF;

function Color32(Index: Byte; Palette: PPalette32): TColor32; overload;

This function simply picks the color value from the palette, same as

Result := Palette[Index];

 

See Also

Gray32, WinColor, Color Types