---
title: "Color..::.FromRgb32 Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromRgb32_3_9738cf02.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.FromRgb32 Method 
 
Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from all 3 color channels (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 FromRgb32 ( _red As Integer, _green As Integer, _blue As Integer _
) As RgbColor
```
 
```csharp
public static RgbColor FromRgb32(int red,int green,int blue
)
```
 
### Parameters
 
 - 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. [FromRgb(Byte, Byte, Byte)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromRgb_3_6e8d960c.htm.md). If you need also supply alpha channel, you can use [FromArgb32(Int32, Int32, Int32, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromArgb32_4_951ae041.htm.md) method.
   
## 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)
