# Channel enum

Namespace: [Grasshopper2.Extensions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.extensions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum Channel
```

Enumerates the possible channels for a bitmap.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Red | 0 | Red channel. |
| Green | 1 | Green channel. |
| Blue | 2 | Blue channel. |
| Alpha | 3 | Alpha channel. Also known as 'Transparency'. |
| Hue | 30 | Hue channel. |
| Saturation | 40 | Saturation channel. |
| AverageLuminance | 100 | Luminance channel using the average algorithm. |
| DesaturateLuminance | 101 | Luminance channel using the desaturate algorithm. |
| YCbCrPhotometric | 102 | Luminance channel using the photometric YCbCr algorithm. |
| HdtvPhotometric | 103 | Luminance channel using the photometric Hdtv algorithm. |
| YCbCrGammaAdjusted | 104 | Luminance channel using the gamma adjusted YCbCr algorithm. |
| HdtvGammaAdjusted | 105 | Luminance channel using the gamma adjusted Hdtv algorithm. |
| YCbCrPerceived | 106 | Luminance channel using the non-linear YCbCr algorithm. |
| HdtvPerceived | 107 | Luminance channel using the non-linear Hdtv algorithm. |
