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

# Class ColorProfilesPreloader

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

###### **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 class ColorProfilesPreloader : IColorProfilesProvider
```

## Implements

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

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

## Properties

### Empty

```csharp
public static IColorProfilesProvider Empty { get; }
```

## Methods

### LoadProfileOf

```csharp
public static Task<IColorProfilesProvider> LoadProfileOf(IColorProfileManager colorProfileManager, Color color)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.ColorManagement.Storage.IColorProfileManager](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ColorManagement.Storage/IColorProfileManager.md) | *colorProfileManager* |  |
| [Aurigma.DesignAtoms.Model.Color.Color](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Color/Color.md) | *color* |  |

##### Returns

`System.Threading.Tasks.Task<Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider>`

### LoadProfilesOf

```csharp
public static Task<IColorProfilesProvider> LoadProfilesOf(IColorProfileManager colorProfileManager, IEnumerable<Color> colors)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.ColorManagement.Storage.IColorProfileManager](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ColorManagement.Storage/IColorProfileManager.md) | *colorProfileManager* |  |
| `System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Model.Color.Color>` | *colors* |  |

##### Returns

`System.Threading.Tasks.Task<Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider>`

### LoadProfile

```csharp
public static Task<IColorProfilesProvider> LoadProfile(IColorProfileManager colorProfileManager, string profileDescription)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.ColorManagement.Storage.IColorProfileManager](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ColorManagement.Storage/IColorProfileManager.md) | *colorProfileManager* |  |
| `System.String` | *profileDescription* |  |

##### Returns

`System.Threading.Tasks.Task<Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider>`

### LoadProfiles

```csharp
public static Task<IColorProfilesProvider> LoadProfiles(IColorProfileManager colorProfileManager, IEnumerable<string> profileDescriptions)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.ColorManagement.Storage.IColorProfileManager](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ColorManagement.Storage/IColorProfileManager.md) | *colorProfileManager* |  |
| `System.Collections.Generic.IEnumerable<System.String>` | *profileDescriptions* |  |

##### Returns

`System.Threading.Tasks.Task<Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider>`

### From

```csharp
public static IColorProfilesProvider From(Color color)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.Color` | *color* |  |

##### Returns

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

### GetColorProfileOrDefault

```csharp
public ColorProfile GetColorProfileOrDefault(string profileDescription)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *profileDescription* |  |

##### Returns

`Aurigma.GraphicsMill.ColorProfile`
