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

# Class RecolorService

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

###### **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 RecolorService
```

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

### RecolorService

```csharp
public RecolorService()
```

## Methods

### ApplyRecolor

```csharp
public Stream ApplyRecolor(Stream inputStream, Dictionary<Color, Color> colorReplacementDictionary)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.IO.Stream` | *inputStream* |  |
| `System.Collections.Generic.Dictionary<Aurigma.GraphicsMill.Color,Aurigma.GraphicsMill.Color>` | *colorReplacementDictionary* |  |

##### Returns

`System.IO.Stream`
