A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/device-cmyk below:

device-cmyk() - CSS | MDN

Syntax
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.

Formal syntax
<device-cmyk()> = 
<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>
Specifications Browser compatibility

Currently, no browsers support this feature.

See also

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