Function: cmykToRgb()
cmykToRgb(
cmyk
):RGB
Converts CMYK values to RGB values.
Parameters
Parameter | Type | Description |
---|---|---|
cmyk | CMYK | An object with c, m, y, and k properties. |
Returns
An object with r, g, and b properties.
Throws
If the input is not a valid CMYK object or if CMYK values are out of range.
Defined in
conversions/components/cmyk.ts:9