---
title: "ColorProfile Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorProfile.htm
product: "Graphics Mill"
---

# ColorProfile Class
 
Represents the ICC color profile used to provide color management.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public sealed class ColorProfile : IDisposable
```
 
## Remarks
  
This class encapsulates an ICC color profile. Typically it is used as a parameter in color management classes/methods, however it also has a number of useful properties that allow obtaining extra details about the profile. In particular, you can get metainformation such as [Copyright](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorProfile_Copyright.htm.md), [Description](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorProfile_Description.htm.md), [DeviceClass](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorProfile_DeviceClass.htm.md) (a device kind the profile is intended for), [Manufacturer](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorProfile_Manufacturer.htm.md), and [Model](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorProfile_Model.htm.md). You can also get a [ColorSpace](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorProfile_ColorSpace.htm.md) the profile is made for.
 
You can create ColorProfile instance in four ways:
 
1. **[Constructor](https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_ColorProfile_ctor_1_362212bd.htm.md)** creates a ColorProfile instance from specified file.
2. **[FromScreen()](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorProfile_FromScreen.htm.md)** creates a ColorProfile instance from the color profile associated with monitor.
3. **[FromSrgb()](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorProfile_FromSrgb.htm.md)** Creates a ColorProfile instance from a standard sRGB color profile.
4. **[FromAdobe1998()](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorProfile_FromAdobe1998.htm.md)** creates a ColorProfile instance from the standard Adobe RGB (1998) color profile.
 
## Examples
  
```csharp
using (var bitmap = new Bitmap(@"Images\in.jpg"))
{
    bitmap.ColorManagement.ColorManagementEngine = ColorManagementEngine.LittleCms;
    if (bitmap.ColorProfile == null)
        bitmap.ColorProfile = ColorProfile.FromSrgb();
    bitmap.ColorManagement.DestinationProfile = new ColorProfile(@"_Input\ColorProfiles\EuroscaleCoated.icc");
    bitmap.ColorManagement.Convert(PixelFormat.Format32bppCmyk);
    bitmap.Save(@"Images\Output\out.jpg");
}
```
 
## Inheritance Hierarchy
  
- System.Object
    - Aurigma.GraphicsMill.ColorProfile
 
## Thread Safety
 Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [ColorProfile Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_ColorProfile.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
