function

Device cmyk() — CSS reference

Device-dependent cyan, magenta, yellow and black channels describe ink amounts, not a guaranteed screen RGB result. Optional alpha controls transparency. The RGB declaration is an author-chosen screen approximation, not an ICC conversion or proof of print fidelity.

Formal Syntax & Structure

css syntaxcss
device-cmyk(0 1 1 0)

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>device-cmyk()</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{color:rgb(255,0,0);color:device-cmyk(0 1 1 0)}</style><body><div id="a">Example</div></body></html>
CSS Reference