---
title: "PixelDataFormat.GetBgr"
url: "https://reference.aspose.com/psd/net/aspose.psd/pixeldataformat/getbgr/"
product: "Aspose.PSD for .NET API Reference"
description: "PixelDataFormat method. Gets BGR color with a specified number of bits per sample"
---

{{< psd/tize >}}
## PixelDataFormat.GetBgr method

Gets BGR color with a specified number of bits per sample.

```csharp
public static PixelDataFormat GetBgr(int bitsPerSample)
```

| Parameter | Type | Description |
| --- | --- | --- |
| bitsPerSample | Int32 | The number of bits per sample. |

### Return Value

The BGR color.

### See Also

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


