## ColorTranslator class

Translates colors to and from GDI+ Color structures. This class cannot be inherited.

```csharp
public sealed class ColorTranslator
```

## Constructors

| Name | Description |
| --- | --- |
| [ColorTranslator](colortranslator/)() | The default constructor. |

## Methods

| Name | Description |
| --- | --- |
| static [FromHtml](../../system.drawing/colortranslator/fromhtml/)(string) | Translates an HTML color representation to a GDI+ Color structure. |
| static [FromOle](../../system.drawing/colortranslator/fromole/)(int) | Translates an OLE color value to a GDI+ Color structure. |
| static [FromWin32](../../system.drawing/colortranslator/fromwin32/)(int) | Translates a Windows color value to a GDI+ Color structure. |
| static [ToHtml](../../system.drawing/colortranslator/tohtml/)(Color) | Translates the specified Color structure to an HTML string color representation. |
| static [ToOle](../../system.drawing/colortranslator/toole/)(Color) | Converts [`Color`](../color/) structure to OLE presentation of color. |
| static [ToWin32](../../system.drawing/colortranslator/towin32/)(Color) | Converts [`Color`](../color/) structure to Win32 presentation of color. |

### See Also

* namespace [System.Drawing](../../system.drawing/)
* assembly [Aspose.Drawing](../../)


