@@ -846,6 +846,7 @@ or taken from the origin color
846
846
847
847
The origin color and the relative color need not use the same color function.
848
848
849
+ <dfn export>Required conversion</dfn> :
849
850
All operations take part in the
850
851
[=color space=] of the [=relative color=] function;
851
852
<span id="required-conversion"> if the
@@ -1182,7 +1183,7 @@ the allowed [=component keywords=] are:
1182
1183
* <dfn value for="rgb()">r</dfn> , <dfn value for="rgb()">g</dfn> , and <dfn value for="rgb()">b</dfn>
1183
1184
are all <<number>> s
1184
1185
that correspond to the [=origin color's=] red, green, and blue components
1185
- after <a href="# required- conversion"> conversion, if required</a> to sRGB.
1186
+ after [= required conversion| conversion, if required=] to sRGB.
1186
1187
255.0 is equivalent to 100%.
1187
1188
* <dfn value for="rgb()">alpha</dfn> is a <<number>> that corresponds to the
1188
1189
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1251,12 +1252,12 @@ the allowed [=component keywords=] are:
1251
1252
1252
1253
* <dfn value for="hsl()">h</dfn> is a <<number>>
1253
1254
that corresponds to the [=origin color's=] HSL hue, in degrees,
1254
- after <a href="# required- conversion"> conversion, if required</a> to sRGB,
1255
+ after [= required conversion| conversion, if required=] to sRGB,
1255
1256
normalized to a [0, 360] range. 90 is equivalent to 90deg.
1256
1257
* <dfn value for="hsl()">s</dfn> and <dfn value for="hsl()">l</dfn>
1257
1258
are <<number>> s that correspond to the [=origin color's=]
1258
1259
HSL saturation and lightness,
1259
- after <a href="# required- conversion"> conversion, if required</a> to sRGB.
1260
+ after [= required conversion| conversion, if required=] to sRGB.
1260
1261
100 is equivalent to 100%.
1261
1262
* <dfn value for="hsl()">alpha</dfn> is a <<number>> that corresponds to the
1262
1263
[=origin color's=] alpha transparency 1.0 is equivalent to 100%.
@@ -1295,11 +1296,11 @@ the allowed [=component keywords=] are:
1295
1296
1296
1297
* <dfn value for="hwb()">h</dfn> is a <<number>>
1297
1298
that corresponds to the [=origin color's=] HWB hue, in degrees,
1298
- after <a href="# required- conversion"> conversion, if required</a> to sRGB,
1299
+ after [= required conversion| conversion, if required=] to sRGB,
1299
1300
normalized to a [0, 360] range. 90 is equivalent to 90deg.
1300
1301
* <dfn value for="hwb()">w</dfn> and <dfn value for="hwb()">b</dfn>
1301
1302
are <<number>> s that correspond to the [=origin color's=] HWB whiteness and blackness
1302
- after <a href="# required- conversion"> conversion, if required</a> to sRGB.
1303
+ after [= required conversion| conversion, if required=] to sRGB.
1303
1304
100 is equivalent to 100%.
1304
1305
* <dfn value for="hwb()">alpha</dfn> is a <<number>> that corresponds to the
1305
1306
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1326,11 +1327,11 @@ the allowed [=component keywords=] are:
1326
1327
1327
1328
* <dfn value for="lab()">l</dfn> is a <<number>>
1328
1329
that corresponds to the [=origin color's=] CIE Lightness
1329
- after <a href="# required- conversion"> conversion, if required</a> , to CIE Lab.
1330
+ after [= required conversion| conversion, if required=] , to CIE Lab.
1330
1331
100 is equivalent to 100%.
1331
1332
* <dfn value for="lab()">a</dfn> and <dfn value for="lab()">b</dfn> are <<number>> s
1332
1333
that correspond to the [=origin color's=] CIE Lab a and b axes
1333
- after <a href="# required- conversion"> conversion, if required</a> , to CIE Lab.
1334
+ after [= required conversion| conversion, if required=] , to CIE Lab.
1334
1335
125 is equivalent to 100%, while -125 is equivalent to -100%.
1335
1336
* <dfn value for="lab()">alpha</dfn> is a <<number>> that corresponds to the
1336
1337
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1382,11 +1383,11 @@ the allowed [=component keywords=] are:
1382
1383
1383
1384
* <dfn value for="oklab()">l</dfn> is a <<number>>
1384
1385
that corresponds to the [=origin color's=] Oklab Lightness
1385
- after <a href="# required- conversion"> conversion, if required</a> , to Oklab.
1386
+ after [= required conversion| conversion, if required=] , to Oklab.
1386
1387
1.0 is equivalent to 100%.
1387
1388
* <dfn value for="oklab()">a</dfn> and <dfn value for="oklab()">b</dfn> are <<number>> s
1388
1389
that correspond to the [=origin color's=] Oklab a and b axes
1389
- after <a href="# required- conversion"> conversion, if required</a> , to Oklab.
1390
+ after [= required conversion| conversion, if required=] , to Oklab.
1390
1391
0.4 is equivalent to 100%, while -0.4 is equivalent to -100%.
1391
1392
* <dfn value for="oklab()">alpha</dfn> is a <<number>> that corresponds to the
1392
1393
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1413,15 +1414,15 @@ the allowed [=component keywords=] are:
1413
1414
1414
1415
* <dfn value for="lch()">l</dfn> is a <<number>>
1415
1416
that corresponds to the [=origin color's=] CIE Lightness
1416
- after <a href="# required- conversion"> conversion, if required</a> , to CIE LCH.
1417
+ after [= required conversion| conversion, if required=] , to CIE LCH.
1417
1418
100 is equivalent to 100%.
1418
1419
* <dfn value for="lch()">c</dfn> is a <<number>>
1419
1420
that corresponds to the [=origin color's=] LCH chroma
1420
- after <a href="# required- conversion"> conversion, if required</a> , to CIE LCH.
1421
+ after [= required conversion| conversion, if required=] , to CIE LCH.
1421
1422
150 is equivalent to 100%.
1422
1423
* <dfn value for="lch()">h</dfn> is a <<number>>
1423
1424
that corresponds to the [=origin color's=] LCH hue, in degrees,
1424
- after <a href="# required- conversion"> conversion, if required</a> , to CIE LCH,
1425
+ after [= required conversion| conversion, if required=] , to CIE LCH,
1425
1426
normalized to a [0, 360] range. 90 is equivalent to 90deg.
1426
1427
* <dfn value for="lch()">alpha</dfn> is a <<number>> that corresponds to the
1427
1428
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1552,15 +1553,15 @@ the allowed [=component keywords=] are:
1552
1553
1553
1554
* <dfn value for="oklch()">l</dfn> is a <<number>>
1554
1555
that corresponds to the [=origin color's=] Oklab Lightness
1555
- after <a href="# required- conversion"> conversion, if required</a> , to OKLCh.
1556
+ after [= required conversion| conversion, if required=] , to OKLCh.
1556
1557
1.0 is equivalent to 100%.
1557
1558
* <dfn value for="oklch()">c</dfn> is a <<number>>
1558
1559
that corresponds to the [=origin color's=] OKLCh chroma
1559
- after <a href="# required- conversion"> conversion, if required</a> , to OKLCh.
1560
+ after [= required conversion| conversion, if required=] , to OKLCh.
1560
1561
0.4 is equivalent to 100%.
1561
1562
* <dfn value for="oklch()">h</dfn> is a <<number>>
1562
1563
that corresponds to the [=origin color's=] OKLCh hue, in degrees,
1563
- after <a href="# required- conversion"> conversion, if required</a> , to OKLCh,
1564
+ after [= required conversion| conversion, if required=] , to OKLCh,
1564
1565
normalized to a [0, 360] range. 90 is equivalent to 90deg.
1565
1566
* <dfn value for="oklch()">alpha</dfn> is a <<number>> that corresponds to the
1566
1567
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1670,23 +1671,23 @@ the number and name of the allowed [=component keywords=] are:
1670
1671
* defined by the '@color-profile/components' descriptor on the corresponding ''@color-profile'' ,
1671
1672
if present;
1672
1673
otherwise, no relative color manipulation is valid. They are <<number>> s that correspond to the [=origin color's=] components
1673
- after <a href="# required- conversion"> conversion, if required</a> to the color space of the color profile. The value 1.0 corresponds to 100%.
1674
+ after [= required conversion| conversion, if required=] to the color space of the color profile. The value 1.0 corresponds to 100%.
1674
1675
1675
1676
Within a [=relative color=] syntax ''color()'' function using <<predefined-rgb-params>> ,
1676
1677
the allowed [=component keywords=] are:
1677
1678
1678
1679
* <dfn value for="color()">r</dfn> , <dfn value for="color()">g</dfn> , and <dfn value for="color()">b</dfn>
1679
1680
are all <<number>> s
1680
1681
that correspond to the [=origin color's=] red, green, and blue components
1681
- after <a href="# required- conversion"> conversion, if required</a> to the predefined RGB color space.
1682
+ after [= required conversion| conversion, if required=] to the predefined RGB color space.
1682
1683
The value 1.0 corresponds to 100%.
1683
1684
1684
1685
Within a [=relative color=] syntax ''color()'' function using <<xyz-params>> ,
1685
1686
the allowed [=component keywords=] are:
1686
1687
1687
1688
* <dfn value for="color()">x</dfn> , <dfn value for="color()">y</dfn> , <dfn value for="color()">z</dfn> are all <<number>> s
1688
1689
that correspond to the [=origin color's=] X, Y and Z components
1689
- after <a href="# required- conversion"> conversion, if required</a> to relative CIE XYZ color space
1690
+ after [= required conversion| conversion, if required=] to relative CIE XYZ color space
1690
1691
adapted to the relevant white point.
1691
1692
The value 1.0 corresponds to 100%.
1692
1693
0 commit comments