Skip to content

Commit

Permalink
[css-color-4] Stop claiming that achromatic colors have missing chroma.
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Mar 30, 2023
1 parent d6cae6d commit b2580aa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,8 @@ HSL Colors: ''hsl()'' and ''hsla()'' functions</h2>
If the saturation of an HSL color is ''0%'',
then the hue component is [=powerless=].
If the lightness of an HSL color is ''0%'' or ''100%'',
both the saturation and hue components are [=powerless=].
the hue component is [=powerless=]
and the saturation is ''0%''.

<div class='example' id="ex-hsl-primary-red">
For example, an ordinary red,
Expand Down Expand Up @@ -3140,7 +3141,7 @@ Specifying Lab and LCH: the ''lab()'' and ''lch()'' functional notations</h3>

If the lightness of a Lab color (after clamping) is ''0%'',
or ''100%''
both the a and b components are [=powerless=]
both the a and b components are ''0''
and the color represents black, or white, respectively.

<div class="example" id="ex-lab-samples">
Expand Down Expand Up @@ -3218,7 +3219,8 @@ Specifying Lab and LCH: the ''lab()'' and ''lch()'' functional notations</h3>
the hue component is [=powerless=].
If the lightness of an LCH color (after clamping) is ''0%'',
or ''100%'',
both the hue and chroma components are [=powerless=].
the hue component is [=powerless=]
and the chroma is ''0''.

<div class="example" id="ex-lch-samples">
<pre class="lang-css">
Expand Down Expand Up @@ -3302,7 +3304,7 @@ Specifying Lab and LCH: the ''lab()'' and ''lch()'' functional notations</h3>

If the lightness of an Oklab color is ''0%'' or 0,
or ''100%'' or 1.0,
both the a and b components are [=powerless=]
both the a and b components are 0
and the color represents black, or white, respectively.

<div class="example" id="ex-oklab-samples">
Expand Down Expand Up @@ -3379,7 +3381,8 @@ Specifying Lab and LCH: the ''lab()'' and ''lch()'' functional notations</h3>
the hue component is [=powerless=].
If the lightness of an Oklch color is ''0%'' or 0,
or ''100%'' or 1.0,
both the hue and chroma components are [=powerless=].
the hue component is [=powerless=]
and the chroma is ''0''.

<div class="example" id="ex-oklch-samples">
<pre class="lang-css">
Expand Down

0 comments on commit b2580aa

Please sign in to comment.