---
title: "LinearGradientBrush.LinearColors"
url: "https://reference.aspose.com/psd/net/aspose.psd.brushes/lineargradientbrush/linearcolors/"
product: "Aspose.PSD for .NET API Reference"
description: "LinearGradientBrush property. Gets or sets the starting and ending colors of the gradient"
---

{{< psd/tize >}}
## LinearGradientBrush.LinearColors property

Gets or sets the starting and ending colors of the gradient.

```csharp
[Obsolete("Use StartColor and EndColor properties instead.")]
public Color[] LinearColors { get; set; }
```

### Property Value

An array of two [`Color`](../../../aspose.psd/color/) structures that represents the starting and ending colors of the gradient.

### See Also

* struct [Color](../../../aspose.psd/color/)
* class [LinearGradientBrush](../)
* namespace [Aspose.PSD.Brushes](../../../aspose.psd.brushes/)
* assembly [Aspose.PSD](../../../)


