TTMSFNCGraphics.ColorToHTML Method
Converts a color value to its HTML hex string representation.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphics
Syntax
class function ColorToHTML(AColor: TTMSFNCGraphicsColor): string; virtual;
__classmethod virtual System::UnicodeString __fastcall ColorToHTML(TTMSFNCGraphicsColor AColor);
Parameters
| Name | Description |
|---|---|
AColor |
Color value to convert. |
Returns
A string in the form #RRGGBB, for example #FF8040.