Function: cmyk()
function cmyk(
c,
m,
y,
k): CmykColor;
Creates a CMYK color object using normalized channel values from 0 to 1.
Parameters
| Parameter | Type | Description |
|---|---|---|
c | number | Cyan channel value from 0 to 1. |
m | number | Magenta channel value from 0 to 1. |
y | number | Yellow channel value from 0 to 1. |
k | number | Key/black channel value from 0 to 1. |
Returns
The CMYK color object.