---
title: "PixelFormatUtils..::.IsRgb Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_IsRgb_1_3e209c07.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# PixelFormatUtils.IsRgb Method 
 
Returns value that specifies whether pixel format belongs RGB color space.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Shared Function IsRgb ( _format As PixelFormat _
) As Boolean
```
 
```csharp
public static bool IsRgb(PixelFormat format
)
```
 
### Parameters
 
 - format
     - Type: [Aurigma.GraphicsMill.PixelFormat](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormat.htm.md)
 [PixelFormat](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormat.htm.md) enumeration member to check.
 
### Return Value
Value that specifies whether pixel format belongs RGB color space (**true**) or not (**false**).
 
## Remarks
 Always **true** for indexed bitmap.
   
## See Also

### Reference

- [PixelFormatUtils Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormatUtils.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
