ImageEn, unit hyieutils

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


See Also


- TRGB2TColor
- TColor2TRGB