
**Inheritance:**
java.lang.Object
```
public class ColorScale
```

Describe the ColorScale conditional formatting rule. This conditional formatting rule creates a gradated color scale on the cells.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getIs3ColorScale()](#getIs3ColorScale--) | Indicates whether conditional formatting is 3 color scale. |
| [getMaxCfvo()](#getMaxCfvo--) | Gets this ColorScale's max value object. |
| [getMaxColor()](#getMaxColor--) | Gets the gradient color for the maximum value in the range. |
| [getMidCfvo()](#getMidCfvo--) | Gets this ColorScale's mid value object. |
| [getMidColor()](#getMidColor--) | Gets the gradient color for the middle value in the range. |
| [getMinCfvo()](#getMinCfvo--) | Gets this ColorScale's min value object. |
| [getMinColor()](#getMinColor--) | Gets the gradient color for the minimum value in the range. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setIs3ColorScale(boolean value)](#setIs3ColorScale-boolean-) | Indicates whether conditional formatting is 3 color scale. |
| [setMaxColor(Color value)](#setMaxColor-com.aspose.cells.Color-) | Sets the gradient color for the maximum value in the range. |
| [setMidColor(Color value)](#setMidColor-com.aspose.cells.Color-) | Sets the gradient color for the middle value in the range. |
| [setMinColor(Color value)](#setMinColor-com.aspose.cells.Color-) | Sets the gradient color for the minimum value in the range. |
| [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
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getIs3ColorScale() {#getIs3ColorScale--}
```
public boolean getIs3ColorScale()
```


Indicates whether conditional formatting is 3 color scale.

**Returns:**
boolean
### getMaxCfvo() {#getMaxCfvo--}
```
public ConditionalFormattingValue getMaxCfvo()
```


Gets this ColorScale's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it.

**Returns:**
[ConditionalFormattingValue](../../com.aspose.cells/conditionalformattingvalue)
### getMaxColor() {#getMaxColor--}
```
public Color getMaxColor()
```


Gets the gradient color for the maximum value in the range.

**Returns:**
[Color](../../com.aspose.cells/color)
### getMidCfvo() {#getMidCfvo--}
```
public ConditionalFormattingValue getMidCfvo()
```


Gets this ColorScale's mid value object. Cannot set CFValueObject with type FormatConditionValueType.Max or FormatConditionValueType.Min to it.

**Returns:**
[ConditionalFormattingValue](../../com.aspose.cells/conditionalformattingvalue)
### getMidColor() {#getMidColor--}
```
public Color getMidColor()
```


Gets the gradient color for the middle value in the range.

**Returns:**
[Color](../../com.aspose.cells/color)
### getMinCfvo() {#getMinCfvo--}
```
public ConditionalFormattingValue getMinCfvo()
```


Gets this ColorScale's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it.

**Returns:**
[ConditionalFormattingValue](../../com.aspose.cells/conditionalformattingvalue)
### getMinColor() {#getMinColor--}
```
public Color getMinColor()
```


Gets the gradient color for the minimum value in the range.

**Returns:**
[Color](../../com.aspose.cells/color)
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setIs3ColorScale(boolean value) {#setIs3ColorScale-boolean-}
```
public void setIs3ColorScale(boolean value)
```


Indicates whether conditional formatting is 3 color scale.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setMaxColor(Color value) {#setMaxColor-com.aspose.cells.Color-}
```
public void setMaxColor(Color value)
```


Sets the gradient color for the maximum value in the range.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.cells/color) |  |

### setMidColor(Color value) {#setMidColor-com.aspose.cells.Color-}
```
public void setMidColor(Color value)
```


Sets the gradient color for the middle value in the range.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.cells/color) |  |

### setMinColor(Color value) {#setMinColor-com.aspose.cells.Color-}
```
public void setMinColor(Color value)
```


Sets the gradient color for the minimum value in the range.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.cells/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 |  |

