
## from_params {#int-int-int-int}

Creates a [`CmykColor`](/cad/python-net/aspose.cad/cmykcolor) structure from a 32-bit cyan, magenta, yellow and black values.
This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.FromComponents.


### Returns 


The [`CmykColor`](/cad/python-net/aspose.cad/cmykcolor).


```python
def from_params(self, cyan, magenta, yellow, black):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| cyan | int | The cyan component. Valid values are 0 through 255. |
| magenta | int | The magenta component. Valid values are 0 through 255. |
| yellow | int | The yellow component. Valid values are 0 through 255. |
| black | int | The black component. Valid values are 0 through 255. |



### See Also
* module [`aspose.cad`](../../)
* class [`CmykColor`](/cad/python-net/aspose.cad/cmykcolor)
