Skip to content

Commit

Permalink
[css-color-5] Add new color production, #7968
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Feb 20, 2023
1 parent 3e7df1c commit c17a10d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions css-color-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,20 @@ Introduction {#intro}
a representation of
uncalibrated cmyk color.

<h2 id="color-syntax">The <<color>> syntax</h2>

Colors in CSS are represented by the <dfn export><<color>></dfn> type:

<pre class='prod'>
&lt;color> = <<absolute-color-base>> | currentcolor | <<system-color>> | <<device-cmyk()>>
<dfn>&lt;absolute-color-base></dfn> = <<hex-color>> | <<absolute-color-function>> | <<named-color>> | transparent
<dfn>&lt;absolute-color-function></dfn> = <<rgb()>> | <<rgba()>> |
<<hsl()>> | <<hsla()>> | <<hwb()>> |
<<lab()>> | <<lch()>> | <<oklab()>> | <<oklch()>> |
<<color()>>
</pre>


<!--
██ ██ ████ ██ ██
Expand Down

0 comments on commit c17a10d

Please sign in to comment.