## ColorTranslator::FromHtml method


Converts the specified HTML color representation to the equvivalent [Color](../../color/) object.

```cpp
static Color System::Drawing::ColorTranslator::FromHtml(const System::String &name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const System::String\& | The name of HTML color to translate |

### ReturnValue

A [Color](../../color/) object that represents the specified HTML color

## See Also

* Class [Color](../../color/)
* Class [String](../../../system/string/)
* Class [ColorTranslator](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
