---
title: "Color..::.ChannelCount Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Color_ChannelCount.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/)

# Color.ChannelCount Property 
 
Returns number of channels available in 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 MustOverride ReadOnly Property ChannelCount As Integer
```
 
```csharp
public abstract int ChannelCount { get; }
```
 
### Property Value
Number of channels available in this color.
 
## Remarks
 Alpha channel is always available. That's why RGB colors always return 4 (three color channels + alpha channel), grayscale colors returns 2 (luminosity channel + alpha channel), etc.
   
## See Also

### Reference

- [Color Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
