TClrColor.ToHtml Method

Translates the specified Color class to an HTML string color representation.

Namespace: CNClrLib.Control.Graphics
public
 function ToHtml: WideString;

Return Value

Type: WideString

The string that represents the HTML color.

This method translates a Color to a string representation of an HTML color. This is the commonly used name of a color, such as "Red", "Blue", or "Green", and not string representation of a numeric color value, such as "FF33AA".