ImageEn, unit hyieutils

TColor2TRGB


Declaration

function TColor2TRGB(cl: TColor): TRGB;


Description

Converts a TColor to TRGB.


Example

var
  rgb: TRGB;
Begin
  rgb := TColor2TRGB( clRed );
  // Which is the same as rgb := CreateRGB( 255, 0, 0 );
...
End;


See Also

CreateRGB
TRGB2TColor
TRGB2TRGBA
TRGBA2TRGB