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

# Interface IColorDiscoveryService

> `System.ValueTuple<System.Collections.Generic.List<Aurigma.GraphicsMill.Color>,System.IO.Stream>`

###### **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 interface IColorDiscoveryService
```

## Methods

### FindColors

```csharp
(List<Color> Colors, Stream ProcessedStream) FindColors(Stream imageStream, int maxColorLimit, Color paletteReferenceColor = null)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.IO.Stream` | *imageStream* |  |
| `System.Int32` | *maxColorLimit* |  |
| `Aurigma.GraphicsMill.Color` | *paletteReferenceColor* |  |

##### Returns
