
## ColorHelper class

Provides helper functions about color.

## Methods

| Name | Description |
| --- | --- |
| [fromOleColor](#fromolecolor) | Convert OLE_COLOR. |
| [toOleColor](#toolecolor) | Convert color to OLE_COLOR |

### fromOleColor(oleColor) {#fromolecolor}

Convert OLE_COLOR.

| Parameter | Type | Description |
| --- | --- | --- |
| oleColor | int | The value of OLE_COLOR. |

**Returns:** The com.aspose.cells.Color object.

### toOleColor(color, workbook) {#toolecolor}

Convert color to OLE_COLOR

| Parameter | Type | Description |
| --- | --- | --- |
| color | Color | The com.aspose.cells.Color object. |
| workbook | Workbook |  |

**Returns:** The value of OLE_COLOR
