---
title: "from_ole method"
url: "https://reference.aspose.com/cad/python-net/aspose.cad/colortranslator/from_ole/"
product: "Aspose.CAD for Python via .NET API References"
---


## from_ole {#int}

Takes color from the OLE color.


### Returns 


The color.


```python
def from_ole(self, ole_color):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| ole_color | int | OLE color. |



### See Also
* module [`aspose.cad`](../../)
* class [`ColorTranslator`](/cad/python-net/aspose.cad/colortranslator)
