---
title: "RgbColor..::.GetChannel Method (Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_GetChannel_1_e1836fc4.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/)

# RgbColor.GetChannel Method (Int32)
 
Gets value stored in specified channel of this color.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overrides Function GetChannel ( _index As Integer _
) As Byte
```
 
```csharp
public override byte GetChannel(int index
)
```
 
### Parameters
 
 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Number of the channel.
 
### Return Value
Non-extended (8-bit) value stored in specified channel.
 
## Remarks
 You can also use extended version of this property, i.e. [GetChannel32(Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_GetChannel32_1_e1836fc4.htm.md). Unlike this property, [GetChannel32(Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_GetChannel32_1_e1836fc4.htm.md) returns extended (16-bit) value.
   
## See Also

### Reference

- [RgbColor Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md)
- [GetChannel Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_RgbColor_GetChannel.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
