Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,14 @@ Representing Colors: the <<color>> type</h2>
Colors in CSS are represented by the <dfn export><<color>></dfn> type:

<pre class='prod'>
&lt;color> = <<hex-color>> | <<named-color>> | currentcolor | transparent |
&lt;color> = <<absolute-color-base>> | currentcolor | <<system-color>> | <<device-cmyk()>>

<dfn>&lt;absolute-color></dfn> = <<absolute-color-base>> | <<absolute-device-cmyk>>

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

The <dfn export>color-functions</dfn> are <<rgb()>>, <<rgba()>>,
Expand Down Expand Up @@ -4288,6 +4291,7 @@ Uncalibrated CMYK Colors: the ''device-cmyk()'' function</h2>

<pre class='prod'>
<dfn>device-cmyk()</dfn> = device-cmyk( <<cmyk-component>>{4} [ / <<alpha-value>> ]? , <<color>>? )
<dfn>&lt;absolute-device-cmyk></dfn> = device-cmyk( <<cmyk-component>>{4} [ / <<alpha-value>> ]? , <<absolute-color>>? )
<dfn>&lt;cmyk-component></dfn> = <<number>> | <<percentage>>
</pre>

Expand Down
2 changes: 1 addition & 1 deletion css-fonts-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6558,7 +6558,7 @@ Overriding a colors from a palette: The 'override-colors!!descriptor' descriptor

<pre class='descdef'>
Name: override-colors
Value: [ [ <<string>> | <<integer [0, ∞]>> ] <<color>> ]#
Value: [ [ <<string>> | <<integer [0, ∞]>> ] <<absolute-color>> ]#
For: @font-palette-values
Initial: N/A
</pre>
Expand Down