ColorTranslator.FromHtml

ColorTranslator.FromHtml method

Translates an HTML color representation to a GDI+ Color structure.

public static Color FromHtml(string htmlColor)
ParameterTypeDescription
htmlColorStringThe string representation of the Html color to translate.

Return Value

The Color structure that represents the translated HTML color or Empty if htmlColor is null.

See Also