Appearance
zeropdf / cmyk
Function: cmyk()
ts
function cmyk(
c,
m,
y,
k): CmykColor;Defined in: src/types.ts:3068
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.