
## ColorTranslator class

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



The ColorTranslator type exposes the following members:

### Methods
| Method | Description |
| :- | :- |
| [from_html](/cad/python-net/aspose.cad/colortranslator/from_html/#str) | Takes color from the HTML color. |
| [from_ole](/cad/python-net/aspose.cad/colortranslator/from_ole/#int) | Takes color from the OLE color. |
| [from_win32](/cad/python-net/aspose.cad/colortranslator/from_win32/#int) | Takes color from the HTML color. |
| [to_html](/cad/python-net/aspose.cad/colortranslator/to_html/#aspose.cad.Color) | Creates HTML color  from the color. |
| [to_ole](/cad/python-net/aspose.cad/colortranslator/to_ole/#aspose.cad.Color) | Translates OLE color to color. |
| [to_win32](/cad/python-net/aspose.cad/colortranslator/to_win32/#aspose.cad.Color) | Translates the color to win32 color. |



### See Also
* module [`aspose.cad`](..)
