## ColorTranslator.FromHtml method

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

```csharp
public static Color FromHtml(string htmlColor)
```

| Parameter | Type | Description |
| --- | --- | --- |
| htmlColor | String | The 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

* struct [Color](../../color/)
* class [ColorTranslator](../)
* namespace [Aspose.Drawing](../../colortranslator/)
* assembly [Aspose.Drawing.Common](../../../)


