# ChannelMapping 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 ChannelMapping
```

Enumerates the different ways in which colour channels can be mapped to (xyz) coordinates.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Rgb | 0 | The standard RGB cube. |
| RgbGamma24 | 1 | RGB cube with exp=2.4 gamma adjusted channels. |
| RgbNonLinear | 2 | RGB cube with exp=2.0 gamma adjusted channels. |
| HslCylindrical | 3 | An HSL cylinder (luminance from bottom to top, hue around the axis, saturation as offset from axis). |
| HslSinusoidal | 4 | An HSL cylinder that has been squeezed at the top and bottom. Ie. the offset from the axis depends on the saturation multiplied by the sine of the luminance. |
