device-cmyk(0 81% 81% 30%);
device-cmyk(0 81% 81% 30% / .5);
device-cmyk(0 81% 81% 30% / .5, rgb(178 34 34));
Values
Functional notation: device-cmyk(C M Y K[ / A][, color])
C
, M
, Y
, K
<number>
or <percentage>
values providing the cyan, magenta, yellow, and black components of CMYK color.
A
Optional
An <alpha-value>
, where the number 1
corresponds to 100%
(full opacity).
color
Optional
An optional fallback <color>
to use if the user agent does not know how to translate the CMYK color to RGB.
<device-cmyk()> =Specifications Browser compatibility
<legacy-device-cmyk-syntax> |
<modern-device-cmyk-syntax><legacy-device-cmyk-syntax> =
device-cmyk( <number>#{4} )<modern-device-cmyk-syntax> =
device-cmyk( <cmyk-component>{4} [ / [ <alpha-value> | none ] ]? )<cmyk-component> =
<number> |
<percentage> |
none<alpha-value> =
<number> |
<percentage>
Currently, no browsers support this feature.
See also@page
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.5