Skip to content

Commit 1cb8e60

Browse files
committed
[css-color-5] Add backlinks from relative colors to the corresponding definition in CSS Color 4 w3c#13286
1 parent e35c675 commit 1cb8e60

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

css-color-5/Overview.bs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,6 +1271,8 @@ However, if calculations are done on missing values, ''none'' is treated as 0.
12711271

12721272
<h3 id="relative-RGB">Relative sRGB Colors</h3>
12731273

1274+
The meaning of sRGB colors is defined in [[css-color-4#numeric-srgb]].
1275+
12741276
The grammar of the [=modern color syntax=] ''rgb()'' and ''rgba()'' functions are extended as follows:
12751277

12761278
<pre class='prod'>
@@ -1338,6 +1340,8 @@ Relative sRGB color syntax is <em>only</em> applicable to the non-legacy RGB syn
13381340

13391341
<h3 id="relative-HSL">Relative HSL Colors</h3>
13401342

1343+
The meaning of HSL colors is defined in [[css-color-4#the-hsl-notation]].
1344+
13411345
The grammar of the [=modern color syntax=] ''hsl()'' and ''hsla()'' functions is extended as follows:
13421346

13431347
<pre class='prod'>
@@ -1387,6 +1391,8 @@ Relative HSL color syntax is only applicable to the non-legacy HSL syntactic for
13871391

13881392
<h3 id="relative-HWB">Relative HWB Colors</h3>
13891393

1394+
The meaning of HWB colors is defined in [[css-color-4#the-hwb-notation]].
1395+
13901396
The grammar of the ''hwb()'' function is extended as follows:
13911397

13921398
<pre class='prod'>
@@ -1418,6 +1424,8 @@ the allowed [=component keywords=] are:
14181424

14191425
<h3 id="relative-Lab">Relative Lab Colors</h3>
14201426

1427+
The meaning of Lab colors is defined in [[css-color-4#cie-lab]].
1428+
14211429
The grammar of the ''lab()'' function is extended as follows:
14221430

14231431
<pre class='prod'>
@@ -1474,6 +1482,8 @@ the allowed [=component keywords=] are:
14741482

14751483
<h3 id="relative-Oklab">Relative Oklab Colors</h3>
14761484

1485+
The meaning of Oklab colors is defined in [[css-color-4#ok-lab]].
1486+
14771487
The grammar of the ''oklab()'' function is extended as follows:
14781488

14791489
<pre class='prod'>
@@ -1505,6 +1515,8 @@ the allowed [=component keywords=] are:
15051515

15061516
<h3 id="relative-LCH">Relative LCH Colors</h3>
15071517

1518+
The meaning of LCH colors is defined in [[css-color-4#cie-lab]].
1519+
15081520
The grammar of the ''lch()'' function is extended as follows:
15091521

15101522
<pre class='prod'>
@@ -1644,6 +1656,8 @@ However, unlike HSL, manipulations are not guaranteed to be in-gamut.
16441656

16451657
<h3 id="relative-OkLCh">Relative OkLCh Colors</h3>
16461658

1659+
The meaning of OkLCh colors is defined in [[css-color-4#ok-lab]].
1660+
16471661
The grammar of the ''oklch()'' function is extended as follows:
16481662

16491663
<pre class='prod'>
@@ -1709,7 +1723,9 @@ The OkLCh chroma has dropped from 0.251 to 0.117.
17091723

17101724
<h3 id="relative-alpha">Relative Alpha Colors</h3>
17111725

1712-
The grammar of the ''alpha()'' function is as follows:
1726+
Relative alpha colors refer to an origin color, and only change the alpha channel. The meaning of alpha channels is defined in [[css-color-4#alpha-syntax]].
1727+
1728+
The grammar of the ''alpha()'' function, new in this level, is as follows:
17131729

17141730
<pre class='prod'>
17151731
<dfn>alpha()</dfn> = alpha([from <<color>>]

0 commit comments

Comments
 (0)