HtmlColorParserToHexColor Method

Return the hex representation of the color value specified by the caller.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 26.3006.2520
C#
public static string ToHexColor(
	string colorValue
)

Parameters

colorValue  String
The color expression to convert to hex.

Return Value

String
The hex HTML color representation of the caller's supplied color, if found. Otherwise, an empty string.

See Also