@@ -1075,7 +1075,8 @@ the allowed [=channel keywords=] are:
1075
1075
that correspond to the [=origin color's=] red, green, and blue channels
1076
1076
after <a href="#required-conversion">conversion, if required</a> to sRGB.
1077
1077
255.0 is equivalent to 100%.
1078
- * <dfn value for="rgb()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
1078
+ * <dfn value for="rgb()">alpha</dfn> is a <<number>> that corresponds to the
1079
+ [=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1079
1080
1080
1081
<div class="example">
1081
1082
To manipulate color channels in the sRGB color space:
@@ -1143,7 +1144,8 @@ the allowed [=channel keywords=] are:
1143
1144
HSL saturation and lightness,
1144
1145
after <a href="#required-conversion">conversion, if required</a> to sRGB.
1145
1146
100 is equivalent to 100%.
1146
- * <dfn value for="hsl()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
1147
+ * <dfn value for="hsl()">alpha</dfn> is a <<number>> that corresponds to the
1148
+ [=origin color's=] alpha transparency 1.0 is equivalent to 100%.
1147
1149
1148
1150
<div class="example">
1149
1151
This adds 180 degrees to the hue angle, giving a complementary color.
@@ -1180,7 +1182,8 @@ the allowed [=channel keywords=] are:
1180
1182
are <<number>> s that correspond to the [=origin color's=] HWB whiteness and blackness
1181
1183
after <a href="#required-conversion">conversion, if required</a> to sRGB.
1182
1184
100 is equivalent to 100%.
1183
- * <dfn value for="hwb()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
1185
+ * <dfn value for="hwb()">alpha</dfn> is a <<number>> that corresponds to the
1186
+ [=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1184
1187
1185
1188
<h3 id="relative-Lab">Relative Lab Colors</h3>
1186
1189
@@ -1200,12 +1203,14 @@ the allowed [=channel keywords=] are:
1200
1203
1201
1204
* <dfn value for="lab()">l</dfn> is a <<number>>
1202
1205
that corresponds to the [=origin color's=] CIE Lightness
1203
- after <a href="#required-conversion">conversion, if required</a> , to CIE Lab
1206
+ after <a href="#required-conversion">conversion, if required</a> , to CIE Lab.
1207
+ 100 is equivalent to 100%.
1204
1208
* <dfn value for="lab()">a</dfn> and <dfn value for="lab()">b</dfn> are <<number>> s
1205
1209
that correspond to the [=origin color's=] CIE Lab a and b axes
1206
1210
after <a href="#required-conversion">conversion, if required</a> , to CIE Lab.
1207
1211
125 is equivalent to 100%, while -125 is equivalent to -100%.
1208
- * <dfn value for="lab()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
1212
+ * <dfn value for="lab()">alpha</dfn> is a <<number>> that corresponds to the
1213
+ [=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1209
1214
1210
1215
<div class="example">
1211
1216
Multiple ways to adjust the transparency of a base color:
@@ -1250,12 +1255,14 @@ the allowed [=channel keywords=] are:
1250
1255
1251
1256
* <dfn value for="oklab()">l</dfn> is a <<number>>
1252
1257
that corresponds to the [=origin color's=] Oklab Lightness
1253
- after <a href="#required-conversion">conversion, if required</a> , to Oklab
1258
+ after <a href="#required-conversion">conversion, if required</a> , to Oklab.
1259
+ 1.0 is equivalent to 100%.
1254
1260
* <dfn value for="oklab()">a</dfn> and <dfn value for="oklab()">b</dfn> are <<number>> s
1255
1261
that correspond to the [=origin color's=] Oklab a and b axes
1256
1262
after <a href="#required-conversion">conversion, if required</a> , to Oklab.
1257
1263
0.4 is equivalent to 100%, while -0.4 is equivalent to -100%.
1258
- * <dfn value for="oklab()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
1264
+ * <dfn value for="oklab()">alpha</dfn> is a <<number>> that corresponds to the
1265
+ [=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1259
1266
1260
1267
<h3 id="relative-LCH">Relative LCH Colors</h3>
1261
1268
@@ -1275,7 +1282,8 @@ the allowed [=channel keywords=] are:
1275
1282
1276
1283
* <dfn value for="lch()">l</dfn> is a <<number>>
1277
1284
that corresponds to the [=origin color's=] CIE Lightness
1278
- after <a href="#required-conversion">conversion, if required</a> , to CIE LCH
1285
+ after <a href="#required-conversion">conversion, if required</a> , to CIE LCH.
1286
+ 100 is equivalent to 100%.
1279
1287
* <dfn value for="lch()">c</dfn> is a <<number>>
1280
1288
that corresponds to the [=origin color's=] LCH chroma
1281
1289
after <a href="#required-conversion">conversion, if required</a> , to CIE LCH.
@@ -1284,7 +1292,8 @@ the allowed [=channel keywords=] are:
1284
1292
that corresponds to the [=origin color's=] LCH hue, in degrees,
1285
1293
after <a href="#required-conversion">conversion, if required</a> , to CIE LCH,
1286
1294
normalized to a [0, 360] range. 90 is equivalent to 90deg.
1287
- * <dfn value for="lch()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
1295
+ * <dfn value for="lch()">alpha</dfn> is a <<number>> that corresponds to the
1296
+ [=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1288
1297
1289
1298
1290
1299
<div class="example">
@@ -1409,7 +1418,8 @@ the allowed [=channel keywords=] are:
1409
1418
1410
1419
* <dfn value for="oklch()">l</dfn> is a <<number>>
1411
1420
that corresponds to the [=origin color's=] Oklab Lightness
1412
- after <a href="#required-conversion">conversion, if required</a> , to Oklch
1421
+ after <a href="#required-conversion">conversion, if required</a> , to Oklch.
1422
+ 1.0 is equivalent to 100%.
1413
1423
* <dfn value for="oklch()">c</dfn> is a <<number>>
1414
1424
that corresponds to the [=origin color's=] Oklch chroma
1415
1425
after <a href="#required-conversion">conversion, if required</a> , to Oklch.
@@ -1418,7 +1428,8 @@ the allowed [=channel keywords=] are:
1418
1428
that corresponds to the [=origin color's=] Oklch hue, in degrees,
1419
1429
after <a href="#required-conversion">conversion, if required</a> , to Oklch,
1420
1430
normalized to a [0, 360] range. 90 is equivalent to 90deg.
1421
- * <dfn value for="oklch()">alpha</dfn> is a <<number>> that corresponds to the [=origin color's=] alpha transparency
1431
+ * <dfn value for="oklch()">alpha</dfn> is a <<number>> that corresponds to the
1432
+ [=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
1422
1433
1423
1434
Because Oklch is both perceptually uniform and chroma-preserving,
1424
1435
and because the axes correspond to easily understood attributes of a color,
0 commit comments