---
title: "Color..::.ToGdiplusColor Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToGdiplusColor.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Color.ToGdiplusColor Method 
 
Returns [System.Drawing.Color](http://msdn2.microsoft.com/en-us/14w97wkc) containing the same color value as this [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md) does.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public MustOverride Function ToGdiplusColor As Color
```
 
```csharp
public abstract Color ToGdiplusColor()
```
 
### Return Value
 [System.Drawing.Color](http://msdn2.microsoft.com/en-us/14w97wkc) containing the same color value as this [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md) does.
 
## Remarks
 If this [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md) is not belong to RGB color space, it is automatically converted to RGB using [ConvertColorSpace(ColorSpace)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ConvertColorSpace_1_9e5a71e1.htm.md) method. Note, no color management is applied in this case and colors may be reproduced inaccurately.
   
## See Also

### Reference

- [Color Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
