{{< psd/tize >}}
## ColorMap class

Defines a map for converting colors. Several methods of the [`ImageAttributes`](../imageattributes/) class adjust image colors by using a color-remap table, which is an array of `ColorMap` structures. Not inheritable.

```csharp
public sealed class ColorMap
```

## Constructors

| Name | Description |
| --- | --- |
| [ColorMap](colormap/)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [NewColor](../../aspose.psd/colormap/newcolor/) { get; set; } | Gets or sets the new [`Color`](../color/) structure to which to convert. |
| [OldColor](../../aspose.psd/colormap/oldcolor/) { get; set; } | Gets or sets the existing [`Color`](../color/) structure to be converted. |

### See Also

* namespace [Aspose.PSD](../../aspose.psd/)
* assembly [Aspose.PSD](../../)


