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;
Parameters
| Name | Description |
|---|---|
AColor |
Color value to convert. |
Returns
A string in the form #RRGGBB, for example #FF8040.