
## ColorHelper class

Provides helper functions about color.

## Methods

| Name | Description |
| --- | --- |
| [fromOleColor(oleColor)](#fromolecolor) *(static)* | Convert OLE_COLOR. |
| [toOleColor(color, workbook)](#toolecolor) *(static)* | Convert color to OLE_COLOR |

### fromOleColor(oleColor) (static) {#fromolecolor}

Convert OLE_COLOR.

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

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

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

Convert color to OLE_COLOR

| Parameter | Type | Description |
| --- | --- | --- |
| color | Color | The |
| workbook | Workbook |  |

**Returns:** Number — `Number` The value of OLE_COLOR
