sempdf
sempdf v1.9.1Functions

Function: cmyk()

sempdf v1.9.1


sempdf / cmyk

function cmyk(
   c, 
   m, 
   y, 
   k): CmykColor;

Defined in: src/types.ts:3749

Creates a CMYK color object using normalized channel values from 0 to 1.

Parameters

ParameterTypeDescription
cnumberCyan channel value from 0 to 1.
mnumberMagenta channel value from 0 to 1.
ynumberYellow channel value from 0 to 1.
knumberKey/black channel value from 0 to 1.

Returns

CmykColor

The CMYK color object.

On this page