ImageEn, unit iexUtils

CreateRGB

CreateRGB

Declaration

function CreateRGB(r, g, b: Byte): TRGB;

Description

Returns a TRGB record.

Example

rgb := CreateRGB( 255, 0, 0 );
// Which is the same as rgb := IEColorToRGB( clRed );

See Also

IERGBToColor
IERGBToRGBA
IEColorToRGB
IERGBAToRGB