FromHtml()

ColorTranslator::FromHtml(const System::String&) method

Converts the specified HTML color representation to the equvivalent Color object.

static Color System::Drawing::ColorTranslator::FromHtml(const System::String &name)

Arguments

ParameterTypeDescription
nameconst System::String&The name of HTML color to translate

Return Value

A Color object that represents the specified HTML color

See Also