---
title: "Color.GetBrightness"
url: "https://reference.aspose.com/drawing/net/aspose.drawing/color/getbrightness/"
product: "Aspose.Drawing for .NET API Reference"
description: "Color method. Gets the huesaturationbrightness HSB brightness value for this Color structure"
---

## Color.GetBrightness method

Gets the hue-saturation-brightness (HSB) brightness value for this Color structure.

```csharp
public float GetBrightness()
```

### Return Value

The brightness of this Color. The brightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.

### See Also

* struct [Color](../)
* namespace [Aspose.Drawing](../../color/)
* assembly [Aspose.Drawing.Common](../../../)


