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

Defines arrays of colors and positions used for interpolating color blending in a multicolor gradient. This class cannot be inherited.

```csharp
public sealed class ColorBlend
```

## Constructors

| Name | Description |
| --- | --- |
| [ColorBlend](colorblend/#constructor)() | Initializes a new instance of the `ColorBlend` class. |
| [ColorBlend](colorblend/#constructor_1)(int) | Initializes a new instance of the `ColorBlend` class with the specified number of colors and positions. |

## Properties

| Name | Description |
| --- | --- |
| [Colors](../../aspose.psd/colorblend/colors/) { get; set; } | Gets or sets an array of colors that represents the colors to use at corresponding positions along a gradient. |
| [Positions](../../aspose.psd/colorblend/positions/) { get; set; } | Gets or sets the positions along a gradient line. |

## Methods

| Name | Description |
| --- | --- |
| override [Equals](../../aspose.psd/colorblend/equals/)(object) | Tests whether the specified object is a `ColorBlend` class and is equivalent to this `ColorBlend` class. |
| override [GetHashCode](../../aspose.psd/colorblend/gethashcode/)() | Returns a hash code for this instance. |

### See Also

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


