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

# Interface IColorPreviewCache

> `Aurigma.GraphicsMill.RgbColor`

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

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

```csharp title="Syntax"
public interface IColorPreviewCache
```

## Methods

### GetColorPreview

```csharp
RgbColor GetColorPreview(string profileId, Color color, ColorProfile targetDevice)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *profileId* |  |
| `Aurigma.GraphicsMill.Color` | *color* |  |
| `Aurigma.GraphicsMill.ColorProfile` | *targetDevice* |  |

##### Returns

### AddColorPreview

```csharp
void AddColorPreview(string profileId, Color color, ColorProfile targetDevice, RgbColor colorPreview)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *profileId* |  |
| `Aurigma.GraphicsMill.Color` | *color* |  |
| `Aurigma.GraphicsMill.ColorProfile` | *targetDevice* |  |
| `Aurigma.GraphicsMill.RgbColor` | *colorPreview* |  |
