System::Drawing::ColorTranslator::FromHtml method

ColorTranslator::FromHtml method

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

static Color System::Drawing::ColorTranslator::FromHtml(const System::String &name)
ParameterTypeDescription
nameconst System::String&The name of HTML color to translate

ReturnValue

A Color object that represents the specified HTML color

See Also