
**Inheritance:**
java.lang.Object
```
public class ColorHelper
```

Provides helper functions about color.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [fromOleColor(int oleColor)](#fromOleColor-int-) | Convert OLE\_COLOR. |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toOleColor(Color color, Workbook workbook)](#toOleColor-com.aspose.cells.Color-com.aspose.cells.Workbook-) | Convert color to OLE\_COLOR |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### fromOleColor(int oleColor) {#fromOleColor-int-}
```
public static Color fromOleColor(int oleColor)
```


Convert OLE\_COLOR.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| oleColor | int | The value of OLE\_COLOR. |

**Returns:**
[Color](../../com.aspose.cells/color) - The [Color](../../com.aspose.cells/color) object.
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toOleColor(Color color, Workbook workbook) {#toOleColor-com.aspose.cells.Color-com.aspose.cells.Workbook-}
```
public static int toOleColor(Color color, Workbook workbook)
```


Convert color to OLE\_COLOR

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| color | [Color](../../com.aspose.cells/color) | The [Color](../../com.aspose.cells/color) object. |
| workbook | [Workbook](../../com.aspose.cells/workbook) |  |

**Returns:**
int - The value of OLE\_COLOR
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

