---
title: "Color..::.FromArgb32 Method (Int32, Int32, Int32, Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromArgb32_4_951ae041.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.FromArgb32 Method (Int32, Int32, Int32, Int32)
 
Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from all 4 channels (alpha, red, green, and blue).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Shared Function FromArgb32 ( _alpha As Integer, _red As Integer, _green As Integer, _blue As Integer _
) As RgbColor
```
 
```csharp
public static RgbColor FromArgb32(int alpha,int red,int green,int blue
)
```
 
### Parameters
 
 - alpha
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Alpha channel value.

 - red
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Red channel value.

 - green
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Green channel value.

 - blue
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Blue channel value.
 
### Return Value
 [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from given channels.
 
## Remarks
 You can also use non-extended version of this method, i.e. [FromArgb(Byte, Byte, Byte, Byte)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromArgb_4_ef9e6d81.htm.md). If you do not care about alpha channel, you can also use [FromRgb32(Int32, Int32, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromRgb32_3_9738cf02.htm.md) method.
   
## See Also

### Reference

- [Color Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
- [FromArgb32 Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Color_FromArgb32.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
