THtmlColors.GetColor Method
Overloads
THtmlColors.GetColor(string)
Returns a Color struct from an HTML string
Syntax
Unit: FlexCel.Core
class function THtmlColors.GetColor(const Value: string): TUIColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | Value | string | String with color on HTML format. (one of the 16 named colors or #notation) |
Returns
The corresponding Color.
See also
THtmlColors.GetColor(TUIColor)
Returns an HTML color string from a Color struct.
Syntax
Unit: FlexCel.Core
class function THtmlColors.GetColor(const Value: TUIColor): string; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | Value | TUIColor | The color we want to convert. |
Returns
String with color on HTML format. (one of the 16 named colors or #notation).