---
title: "Color.ToInt32 Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Color_ToInt32.htm
product: "Graphics Mill"
---

# Color.ToInt32 Method 
 
Gets a non-extended (8 bit per channel) numeric representation of the [Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public virtual int ToInt32()
```
 
### Return Value
A numeric representation of this [Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md).
 
## Remarks
 If color has larger than 4 channels, all extra channels will be truncated. For example, [CmykColor](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_CmykColor.htm.md) will return only CMYK quad instead of ACMYK quintuple; alpha channel will be truncated.
   
## 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)
