---
title: "Color.GetSaturation"
url: "https://reference.aspose.com/psd/net/aspose.psd/color/getsaturation/"
product: "Aspose.PSD for .NET API Reference"
description: "Color method. Gets the huesaturationbrightness HSB saturation value for this Color structure"
---

{{< psd/tize >}}
## Color.GetSaturation method

Gets the hue-saturation-brightness (HSB) saturation value for this [`Color`](../) structure.

```csharp
public float GetSaturation()
```

### Return Value

The saturation of this [`Color`](../). The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.

### See Also

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


