## ColorMap class

Defines a map for converting colors. Several methods of the 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](../../system.drawing.imaging/colormap/newcolor/) { get; set; } | Gets or sets the new Color structure to which to convert. |
| [OldColor](../../system.drawing.imaging/colormap/oldcolor/) { get; set; } | Gets or sets the existing Color structure to be converted. |

### See Also

* namespace [System.Drawing.Imaging](../../system.drawing.imaging/)
* assembly [Aspose.Drawing](../../)


