---
title: "Color..::.FromCmyk32 Method (Int32, Int32, Int32, Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromCmyk32_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.FromCmyk32 Method (Int32, Int32, Int32, Int32)
 
Returns [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md) class instance constructed from all 4 color channels (cyan, magenta, yellow, and black).
 
**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 FromCmyk32 ( _cyan As Integer, _magenta As Integer, _yellow As Integer, _black As Integer _
) As CmykColor
```
 
```csharp
public static CmykColor FromCmyk32(int cyan,int magenta,int yellow,int black
)
```
 
### Parameters
 
 - cyan
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Cyan channel value.

 - magenta
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Magenta channel value.

 - yellow
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Yellow channel value.

 - black
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Black channel value.
 
### Return Value
 [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md) class instance constructed from given channels.
 
## Remarks
 You can also use non-extended version of this method, i.e. [FromCmyk(Byte, Byte, Byte, Byte)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromCmyk_4_ef9e6d81.htm.md). If you need also supply alpha channel, you can use [FromAcmyk32(Int32, Int32, Int32, Int32, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromAcmyk32_5_d0e4a744.htm.md) method.
   
## See Also

### Reference

- [Color Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
- [FromCmyk32 Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Color_FromCmyk32.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
