ImageEn, unit hyieutils

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 := TColor2TRGB( clRed );


See Also

 TRGB2TColor
 TRGB2TRGBA
 TColor2TRGB
 TRGBA2TRGB