
**Summary:** Defines a map for converting colors. Several methods of the [ImageAttributes](/imaging/python-net/aspose.imaging/imageattributes/) class adjust image colors by using a color-remap table, which is an array of [ColorMap](/imaging/python-net/aspose.imaging/colormap/) structures. Not inheritable.

**Module:** [aspose.imaging](/imaging/python-net/aspose.imaging/)

**Full Name:** aspose.imaging.ColorMap

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [ColorMap()](#ColorMap__1) | Initializes a new instance of the ColorMap class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| new_color | [Color](/imaging/python-net/aspose.imaging/color/) | r/w | Gets or sets the new [Color](/imaging/python-net/aspose.imaging/color/) structure to which to convert. |
| old_color | [Color](/imaging/python-net/aspose.imaging/color/) | r/w | Gets or sets the existing [Color](/imaging/python-net/aspose.imaging/color/) structure to be converted. |


### Constructor: ColorMap() {#ColorMap__1}


```
 ColorMap() 
```

Initializes a new instance of the ColorMap class

