---
title: "Enum ColorMatrixFlag"
url: "https://reference.aspose.com/drawing/net/aspose.drawing.imaging/colormatrixflag/"
product: "Aspose.Drawing for .NET API Reference"
description: "Aspose.Drawing.Imaging.ColorMatrixFlag enum. Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes"
---

## ColorMatrixFlag enumeration

Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes.

```csharp
public enum ColorMatrixFlag
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Default | `0` | All color values, including gray shades, are adjusted by the same color-adjustment matrix. |
| SkipGrays | `1` | All colors are adjusted, but gray shades are not adjusted. A gray shade is any color that has the same value for its red, green, and blue components. |
| AltGrays | `2` | Only gray shades are adjusted. |

### See Also

* namespace [Aspose.Drawing.Imaging](../../aspose.drawing.imaging/)
* assembly [Aspose.Drawing.Common](../../)


