ImageEn, unit hyieutils

ColorToHex


Declaration

function ColorToHex(Color : TColor): string;


Description

Returns a hex representation of a TColor (e.g. for use in HTML)


Example

sHex := ColorToHex(clWhite); // Would return "#FFFFFF'