---
title: "Color.Convert Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Color_Convert_1_3e209c07.htm
product: "Graphics Mill"
---

# Color.Convert Method 
 
Converts this color to the specified pixel format.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public Color Convert(PixelFormat format
)
```
 
### Parameters
 
 - format
     - Type: [Aurigma.GraphicsMill.PixelFormat](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PixelFormat.htm.md)
A [PixelFormat](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PixelFormat.htm.md) to convert this color to.
 
### Return Value
A [Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md) representing the result of the conversion.
   
## See Also

### Reference

- [Color Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
