---
title: "Class ColorChannelAnalyzer | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Services/ColorChannelAnalyzer/"
---

# Class ColorChannelAnalyzer

> **Inheritance:** `System.Object` -> ColorChannelAnalyzer

###### **Namespace**: [Aurigma.DesignAtoms.ImageProcessing.Services](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Services.md)

###### **Assembly**: Aurigma.DesignAtoms.ImageProcessing.dll

```csharp title="Syntax"
public class ColorChannelAnalyzer
```

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### ColorChannelAnalyzer

```csharp
public ColorChannelAnalyzer()
```

## Methods

### GetWidestChannel

```csharp
public int GetWidestChannel(List<Color> box, ColorSpace colorSpace)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Collections.Generic.List<Aurigma.GraphicsMill.Color>` | *box* |  |
| `Aurigma.GraphicsMill.ColorSpace` | *colorSpace* |  |

##### Returns

`System.Int32`

### GetChannelValue

```csharp
public int GetChannelValue(Color c, int channel, ColorSpace colorSpace)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.Color` | *c* |  |
| `System.Int32` | *channel* |  |
| `Aurigma.GraphicsMill.ColorSpace` | *colorSpace* |  |

##### Returns

`System.Int32`
