Skip to content

Commit a577062

Browse files
committed
[css-color-5][editorial] Consistent case for Oklch, w3c#7880
1 parent 3377f66 commit a577062

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

css-color-5/Overview.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ However, unlike HSL, manipulations are not guaranteed to be in-gamut.
12161216
and the Hue actually changed by 141 degrees not 120.
12171217
</div>
12181218

1219-
<h3 id="relative-OKLCH">Relative OKLCH Colors</h3>
1219+
<h3 id="relative-Oklch">Relative Oklch Colors</h3>
12201220

12211221
The grammar of the ''oklch()'' function is extended as follows:
12221222

@@ -1235,19 +1235,19 @@ the allowed [=channel keywords=] are:
12351235
* <dfn value for="oklch()">l</dfn> is a <<percentage>> or <<number>>
12361236
that corresponds to the [=origin color's=] Oklab Lightness
12371237
* <dfn value for="oklch()">c</dfn> is a <<percentage>> or <<number>>
1238-
that corresponds to the [=origin color's=] OKLCH chroma
1238+
that corresponds to the [=origin color's=] Oklch chroma
12391239
* <dfn value for="oklch()">h</dfn> is an <<angle>>
1240-
that corresponds to the [=origin color's=] OKLCH hue,
1240+
that corresponds to the [=origin color's=] Oklch hue,
12411241
normalized to a [0deg, 360deg) range.
12421242
* <dfn value for="oklch()">alpha</dfn> is a <<number>> or <<percentage>> that corresponds to the [=origin color's=] alpha transparency
12431243

12441244
<div class="example" id="ex-oklch-wildly-oog">
12451245
In this example, the aim is again to produce a new color
12461246
with the same Lightness and Chroma,
12471247
but the triad (hue differs by 120 degrees).
1248-
In this example, we will do the manipulation in OKLCH.
1248+
In this example, we will do the manipulation in Oklch.
12491249
The origin color is inside the RGB gamut,
1250-
but rotating the hue in OKLCH
1250+
but rotating the hue in Oklch
12511251
again produces an out of gamut color.
12521252

12531253
<pre>
@@ -1262,9 +1262,9 @@ which is out of sRGB gamut,
12621262
color(srgb -0.6018 0.7621 0.8448)
12631263
as the negative red component indicates.
12641264
Bring this into gamut
1265-
by reducing OKLCH Chroma, yeilds
1265+
by reducing Oklch Chroma, yeilds
12661266
<span class="swatch" style="--color: rgb(0.079% 69.282% 72.067%)"></span> oklch(69.012% 0.1173 199.893).
1267-
The OKLCH chroma has dropped from 0.251 to 0.117.
1267+
The Oklch chroma has dropped from 0.251 to 0.117.
12681268
</div>
12691269

12701270
<!-- Big Text: color() -->
@@ -2691,7 +2691,7 @@ No new privacy considerations have been reported on this specification.
26912691
<!-- to 10 Nov 2021 -->
26922692
<li>Moved @color-profile and device-cmyk to level 5 per CSSWG resolution</li>
26932693
<li>Excluded none as a component name</li>
2694-
<li>Added OKLCH relative color syntax example</li>
2694+
<li>Added Oklch relative color syntax example</li>
26952695
<li>Defined interpolation color space</li>
26962696
<li>Defined loading color profiles in terms of fetch</li>
26972697
<li>Clarified that contrast is calculated relative to D65-adapted CIE XYZ</li>

0 commit comments

Comments
 (0)