Skip to content

Commit e41219e

Browse files
committed
[css-color-4] Add oklab() and oklch() in <color> grammar
1 parent c30d183 commit e41219e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

css-color-4/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,15 +462,17 @@ Representing Colors: the <<color>> type</h2>
462462
<dfn>&lt;absolute-color-base></dfn> = <<hex-color>> | <<named-color>> | transparent |
463463
<<rgb()>> | <<rgba()>> | <<hsl()>> | <<hsla()>> | <<hwb()>> |
464464
<<lab()>> | <<lch()>> |
465+
<<oklab()>> | <<oklch()>> |
465466
<<color()>>
466467
</pre>
467468

468469
The <dfn export>color-functions</dfn> are <<rgb()>>, <<rgba()>>,
469470
<<hsl()>>, <<hsla()>>, <<hwb()>>,
470-
<<lab()>>, <<lch()>>, and
471+
<<lab()>>, <<lch()>>,
472+
<<oklab()>>, <<oklch()>>, and
471473
<<color()>>.
472474

473-
Of those, <<hsl()>>, <<hsla()>>, <<hwb()>> and <<lch()>>
475+
Of those, <<hsl()>>, <<hsla()>>, <<hwb()>>, <<lch()>>, and <<oklch>>
474476
are <dfn export>cylindrical polar color</dfn> representations,
475477
which specify color using a <<hue>> angle,
476478
a central axis representing lightness

0 commit comments

Comments
 (0)