@webref/css 5.4.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/CSS.json +416 -21
- package/README.md +4 -4
- package/SVG.json +42 -35
- package/compat.json +111 -75
- package/compositing.json +101 -12
- package/css-align.json +237 -29
- package/css-anchor.json +177 -19
- package/css-animations-2.json +37 -15
- package/css-animations.json +155 -31
- package/css-backgrounds-4.json +107 -32
- package/css-backgrounds.json +426 -59
- package/css-box.json +243 -20
- package/css-break.json +292 -11
- package/css-cascade-6.json +22 -13
- package/css-cascade.json +50 -15
- package/css-color-5.json +320 -35
- package/css-color-adjust.json +75 -8
- package/css-color.json +1100 -61
- package/css-conditional-4.json +11 -6
- package/css-conditional-5.json +38 -19
- package/css-conditional.json +28 -15
- package/css-contain-3.json +101 -26
- package/css-contain.json +71 -6
- package/css-content.json +263 -30
- package/css-counter-styles.json +455 -18
- package/css-display.json +250 -19
- package/css-easing.json +137 -25
- package/css-env.json +61 -6
- package/css-exclusions.json +65 -6
- package/css-extensions.json +20 -12
- package/css-flexbox.json +132 -11
- package/css-fonts-5.json +255 -13
- package/css-fonts.json +886 -74
- package/css-gcpm-4.json +30 -5
- package/css-gcpm.json +76 -15
- package/css-grid-3.json +10 -9
- package/css-grid.json +442 -42
- package/css-highlight-api.json +13 -5
- package/css-images-4.json +192 -67
- package/css-images.json +152 -33
- package/css-inline.json +525 -16
- package/css-layout-api.json +20 -0
- package/css-line-grid.json +80 -7
- package/css-lists.json +140 -19
- package/css-logical.json +125 -50
- package/css-masking.json +330 -47
- package/css-multicol-2.json +32 -5
- package/css-multicol.json +84 -13
- package/css-namespaces.json +15 -10
- package/css-nav.json +62 -7
- package/css-nesting.json +15 -0
- package/css-overflow-4.json +83 -10
- package/css-overflow.json +239 -18
- package/css-overscroll.json +110 -9
- package/css-page-floats.json +188 -16
- package/css-page.json +262 -67
- package/css-paint-api.json +8 -5
- package/css-position.json +269 -16
- package/css-properties-values-api.json +9 -7
- package/css-pseudo.json +67 -0
- package/css-regions.json +8 -7
- package/css-rhythm.json +69 -10
- package/css-round-display.json +47 -10
- package/css-ruby.json +136 -8
- package/css-scoping.json +27 -0
- package/css-scroll-anchoring.json +20 -5
- package/css-scroll-snap-2.json +272 -10
- package/css-scroll-snap.json +218 -29
- package/css-scrollbars.json +41 -6
- package/css-shadow-parts.json +8 -5
- package/css-shapes-2.json +190 -43
- package/css-shapes.json +130 -36
- package/css-size-adjust.json +26 -5
- package/css-sizing-4.json +404 -23
- package/css-sizing.json +231 -12
- package/css-speech.json +619 -35
- package/css-syntax.json +193 -92
- package/css-tables.json +10 -9
- package/css-text-4.json +800 -40
- package/css-text-decor-4.json +394 -23
- package/css-text-decor.json +159 -14
- package/css-text.json +371 -20
- package/css-transforms-2.json +177 -40
- package/css-transforms.json +137 -45
- package/css-transitions.json +33 -14
- package/css-ui.json +436 -42
- package/css-values-5.json +99 -14
- package/css-values.json +653 -146
- package/css-variables.json +12 -7
- package/css-view-transitions.json +45 -7
- package/css-will-change.json +36 -7
- package/css-writing-modes.json +141 -10
- package/fill-stroke.json +290 -35
- package/filter-effects-2.json +6 -5
- package/filter-effects.json +109 -45
- package/fullscreen.json +15 -0
- package/mathml-core.json +10 -9
- package/mediaqueries-5.json +505 -52
- package/mediaqueries.json +307 -40
- package/motion.json +99 -16
- package/package.json +1 -1
- package/scroll-animations.json +225 -24
- package/selectors.json +368 -30
- package/svg-strokes.json +8 -7
- package/upgrade-insecure-requests.json +26 -0
- package/html.json +0 -19
package/css-color.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Color Module Level 4",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-color-4/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "color",
|
|
9
9
|
"value": "<color>",
|
|
10
10
|
"initial": "CanvasText",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"color"
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
|
-
|
|
21
|
+
{
|
|
22
22
|
"name": "opacity",
|
|
23
23
|
"value": "<alpha-value>",
|
|
24
24
|
"initial": "1",
|
|
@@ -32,101 +32,1140 @@
|
|
|
32
32
|
"opacity"
|
|
33
33
|
]
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
"atrules":
|
|
37
|
-
"
|
|
38
|
-
|
|
35
|
+
],
|
|
36
|
+
"atrules": [],
|
|
37
|
+
"selectors": [],
|
|
38
|
+
"values": [
|
|
39
|
+
{
|
|
40
|
+
"name": "<color>",
|
|
39
41
|
"prose": "Colors in CSS are represented by the <color> type:",
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
"type": "type",
|
|
43
|
+
"value": "<absolute-color-base> | currentcolor | <system-color>",
|
|
44
|
+
"values": [
|
|
45
|
+
{
|
|
46
|
+
"name": "none",
|
|
47
|
+
"prose": "It can also be specified explicitly, by providing the keyword none for a component in a color function. All color functions (with the exception of those using the legacy color syntax) allow any of their components to be specified as none.",
|
|
48
|
+
"type": "value",
|
|
49
|
+
"value": "none"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "aliceblue",
|
|
53
|
+
"type": "value",
|
|
54
|
+
"value": "aliceblue"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "antiquewhite",
|
|
58
|
+
"type": "value",
|
|
59
|
+
"value": "antiquewhite"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "aqua",
|
|
63
|
+
"type": "value",
|
|
64
|
+
"value": "aqua"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "aquamarine",
|
|
68
|
+
"type": "value",
|
|
69
|
+
"value": "aquamarine"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "azure",
|
|
73
|
+
"type": "value",
|
|
74
|
+
"value": "azure"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "beige",
|
|
78
|
+
"type": "value",
|
|
79
|
+
"value": "beige"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "bisque",
|
|
83
|
+
"type": "value",
|
|
84
|
+
"value": "bisque"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "black",
|
|
88
|
+
"type": "value",
|
|
89
|
+
"value": "black"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "blanchedalmond",
|
|
93
|
+
"type": "value",
|
|
94
|
+
"value": "blanchedalmond"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "blue",
|
|
98
|
+
"type": "value",
|
|
99
|
+
"value": "blue"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "blueviolet",
|
|
103
|
+
"type": "value",
|
|
104
|
+
"value": "blueviolet"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "brown",
|
|
108
|
+
"type": "value",
|
|
109
|
+
"value": "brown"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "burlywood",
|
|
113
|
+
"type": "value",
|
|
114
|
+
"value": "burlywood"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "cadetblue",
|
|
118
|
+
"type": "value",
|
|
119
|
+
"value": "cadetblue"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "chartreuse",
|
|
123
|
+
"type": "value",
|
|
124
|
+
"value": "chartreuse"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "chocolate",
|
|
128
|
+
"type": "value",
|
|
129
|
+
"value": "chocolate"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "coral",
|
|
133
|
+
"type": "value",
|
|
134
|
+
"value": "coral"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "cornflowerblue",
|
|
138
|
+
"type": "value",
|
|
139
|
+
"value": "cornflowerblue"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "cornsilk",
|
|
143
|
+
"type": "value",
|
|
144
|
+
"value": "cornsilk"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "crimson",
|
|
148
|
+
"type": "value",
|
|
149
|
+
"value": "crimson"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "cyan",
|
|
153
|
+
"type": "value",
|
|
154
|
+
"value": "cyan"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "darkblue",
|
|
158
|
+
"type": "value",
|
|
159
|
+
"value": "darkblue"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "darkcyan",
|
|
163
|
+
"type": "value",
|
|
164
|
+
"value": "darkcyan"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "darkgoldenrod",
|
|
168
|
+
"type": "value",
|
|
169
|
+
"value": "darkgoldenrod"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "darkgray",
|
|
173
|
+
"type": "value",
|
|
174
|
+
"value": "darkgray"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "darkgreen",
|
|
178
|
+
"type": "value",
|
|
179
|
+
"value": "darkgreen"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "darkgrey",
|
|
183
|
+
"type": "value",
|
|
184
|
+
"value": "darkgrey"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "darkkhaki",
|
|
188
|
+
"type": "value",
|
|
189
|
+
"value": "darkkhaki"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "darkmagenta",
|
|
193
|
+
"type": "value",
|
|
194
|
+
"value": "darkmagenta"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "darkolivegreen",
|
|
198
|
+
"type": "value",
|
|
199
|
+
"value": "darkolivegreen"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "darkorange",
|
|
203
|
+
"type": "value",
|
|
204
|
+
"value": "darkorange"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "darkorchid",
|
|
208
|
+
"type": "value",
|
|
209
|
+
"value": "darkorchid"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "darkred",
|
|
213
|
+
"type": "value",
|
|
214
|
+
"value": "darkred"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "darksalmon",
|
|
218
|
+
"type": "value",
|
|
219
|
+
"value": "darksalmon"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "darkseagreen",
|
|
223
|
+
"type": "value",
|
|
224
|
+
"value": "darkseagreen"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "darkslateblue",
|
|
228
|
+
"type": "value",
|
|
229
|
+
"value": "darkslateblue"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "darkslategray",
|
|
233
|
+
"type": "value",
|
|
234
|
+
"value": "darkslategray"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "darkslategrey",
|
|
238
|
+
"type": "value",
|
|
239
|
+
"value": "darkslategrey"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "darkturquoise",
|
|
243
|
+
"type": "value",
|
|
244
|
+
"value": "darkturquoise"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "darkviolet",
|
|
248
|
+
"type": "value",
|
|
249
|
+
"value": "darkviolet"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "deeppink",
|
|
253
|
+
"type": "value",
|
|
254
|
+
"value": "deeppink"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "deepskyblue",
|
|
258
|
+
"type": "value",
|
|
259
|
+
"value": "deepskyblue"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "dimgray",
|
|
263
|
+
"type": "value",
|
|
264
|
+
"value": "dimgray"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "dimgrey",
|
|
268
|
+
"type": "value",
|
|
269
|
+
"value": "dimgrey"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "dodgerblue",
|
|
273
|
+
"type": "value",
|
|
274
|
+
"value": "dodgerblue"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "firebrick",
|
|
278
|
+
"type": "value",
|
|
279
|
+
"value": "firebrick"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "floralwhite",
|
|
283
|
+
"type": "value",
|
|
284
|
+
"value": "floralwhite"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "forestgreen",
|
|
288
|
+
"type": "value",
|
|
289
|
+
"value": "forestgreen"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "fuchsia",
|
|
293
|
+
"type": "value",
|
|
294
|
+
"value": "fuchsia"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "gainsboro",
|
|
298
|
+
"type": "value",
|
|
299
|
+
"value": "gainsboro"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "ghostwhite",
|
|
303
|
+
"type": "value",
|
|
304
|
+
"value": "ghostwhite"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "gold",
|
|
308
|
+
"type": "value",
|
|
309
|
+
"value": "gold"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "goldenrod",
|
|
313
|
+
"type": "value",
|
|
314
|
+
"value": "goldenrod"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "gray",
|
|
318
|
+
"type": "value",
|
|
319
|
+
"value": "gray"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "green",
|
|
323
|
+
"type": "value",
|
|
324
|
+
"value": "green"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "greenyellow",
|
|
328
|
+
"type": "value",
|
|
329
|
+
"value": "greenyellow"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "grey",
|
|
333
|
+
"type": "value",
|
|
334
|
+
"value": "grey"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "honeydew",
|
|
338
|
+
"type": "value",
|
|
339
|
+
"value": "honeydew"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "hotpink",
|
|
343
|
+
"type": "value",
|
|
344
|
+
"value": "hotpink"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "indianred",
|
|
348
|
+
"type": "value",
|
|
349
|
+
"value": "indianred"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "indigo",
|
|
353
|
+
"type": "value",
|
|
354
|
+
"value": "indigo"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "ivory",
|
|
358
|
+
"type": "value",
|
|
359
|
+
"value": "ivory"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "khaki",
|
|
363
|
+
"type": "value",
|
|
364
|
+
"value": "khaki"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "lavender",
|
|
368
|
+
"type": "value",
|
|
369
|
+
"value": "lavender"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "lavenderblush",
|
|
373
|
+
"type": "value",
|
|
374
|
+
"value": "lavenderblush"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "lawngreen",
|
|
378
|
+
"type": "value",
|
|
379
|
+
"value": "lawngreen"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"name": "lemonchiffon",
|
|
383
|
+
"type": "value",
|
|
384
|
+
"value": "lemonchiffon"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "lightblue",
|
|
388
|
+
"type": "value",
|
|
389
|
+
"value": "lightblue"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "lightcoral",
|
|
393
|
+
"type": "value",
|
|
394
|
+
"value": "lightcoral"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "lightcyan",
|
|
398
|
+
"type": "value",
|
|
399
|
+
"value": "lightcyan"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "lightgoldenrodyellow",
|
|
403
|
+
"type": "value",
|
|
404
|
+
"value": "lightgoldenrodyellow"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "lightgray",
|
|
408
|
+
"type": "value",
|
|
409
|
+
"value": "lightgray"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "lightgreen",
|
|
413
|
+
"type": "value",
|
|
414
|
+
"value": "lightgreen"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "lightgrey",
|
|
418
|
+
"type": "value",
|
|
419
|
+
"value": "lightgrey"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "lightpink",
|
|
423
|
+
"type": "value",
|
|
424
|
+
"value": "lightpink"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"name": "lightsalmon",
|
|
428
|
+
"type": "value",
|
|
429
|
+
"value": "lightsalmon"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "lightseagreen",
|
|
433
|
+
"type": "value",
|
|
434
|
+
"value": "lightseagreen"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "lightskyblue",
|
|
438
|
+
"type": "value",
|
|
439
|
+
"value": "lightskyblue"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "lightslategray",
|
|
443
|
+
"type": "value",
|
|
444
|
+
"value": "lightslategray"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "lightslategrey",
|
|
448
|
+
"type": "value",
|
|
449
|
+
"value": "lightslategrey"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "lightsteelblue",
|
|
453
|
+
"type": "value",
|
|
454
|
+
"value": "lightsteelblue"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "lightyellow",
|
|
458
|
+
"type": "value",
|
|
459
|
+
"value": "lightyellow"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "lime",
|
|
463
|
+
"type": "value",
|
|
464
|
+
"value": "lime"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "limegreen",
|
|
468
|
+
"type": "value",
|
|
469
|
+
"value": "limegreen"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "linen",
|
|
473
|
+
"type": "value",
|
|
474
|
+
"value": "linen"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "magenta",
|
|
478
|
+
"type": "value",
|
|
479
|
+
"value": "magenta"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "maroon",
|
|
483
|
+
"type": "value",
|
|
484
|
+
"value": "maroon"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "mediumaquamarine",
|
|
488
|
+
"type": "value",
|
|
489
|
+
"value": "mediumaquamarine"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "mediumblue",
|
|
493
|
+
"type": "value",
|
|
494
|
+
"value": "mediumblue"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "mediumorchid",
|
|
498
|
+
"type": "value",
|
|
499
|
+
"value": "mediumorchid"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "mediumpurple",
|
|
503
|
+
"type": "value",
|
|
504
|
+
"value": "mediumpurple"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "mediumseagreen",
|
|
508
|
+
"type": "value",
|
|
509
|
+
"value": "mediumseagreen"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "mediumslateblue",
|
|
513
|
+
"type": "value",
|
|
514
|
+
"value": "mediumslateblue"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "mediumspringgreen",
|
|
518
|
+
"type": "value",
|
|
519
|
+
"value": "mediumspringgreen"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"name": "mediumturquoise",
|
|
523
|
+
"type": "value",
|
|
524
|
+
"value": "mediumturquoise"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"name": "mediumvioletred",
|
|
528
|
+
"type": "value",
|
|
529
|
+
"value": "mediumvioletred"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "midnightblue",
|
|
533
|
+
"type": "value",
|
|
534
|
+
"value": "midnightblue"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "mintcream",
|
|
538
|
+
"type": "value",
|
|
539
|
+
"value": "mintcream"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "mistyrose",
|
|
543
|
+
"type": "value",
|
|
544
|
+
"value": "mistyrose"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "moccasin",
|
|
548
|
+
"type": "value",
|
|
549
|
+
"value": "moccasin"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "navajowhite",
|
|
553
|
+
"type": "value",
|
|
554
|
+
"value": "navajowhite"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "navy",
|
|
558
|
+
"type": "value",
|
|
559
|
+
"value": "navy"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "oldlace",
|
|
563
|
+
"type": "value",
|
|
564
|
+
"value": "oldlace"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "olive",
|
|
568
|
+
"type": "value",
|
|
569
|
+
"value": "olive"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "olivedrab",
|
|
573
|
+
"type": "value",
|
|
574
|
+
"value": "olivedrab"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "orange",
|
|
578
|
+
"type": "value",
|
|
579
|
+
"value": "orange"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "orangered",
|
|
583
|
+
"type": "value",
|
|
584
|
+
"value": "orangered"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"name": "orchid",
|
|
588
|
+
"type": "value",
|
|
589
|
+
"value": "orchid"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "palegoldenrod",
|
|
593
|
+
"type": "value",
|
|
594
|
+
"value": "palegoldenrod"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"name": "palegreen",
|
|
598
|
+
"type": "value",
|
|
599
|
+
"value": "palegreen"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "paleturquoise",
|
|
603
|
+
"type": "value",
|
|
604
|
+
"value": "paleturquoise"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"name": "palevioletred",
|
|
608
|
+
"type": "value",
|
|
609
|
+
"value": "palevioletred"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"name": "papayawhip",
|
|
613
|
+
"type": "value",
|
|
614
|
+
"value": "papayawhip"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "peachpuff",
|
|
618
|
+
"type": "value",
|
|
619
|
+
"value": "peachpuff"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "peru",
|
|
623
|
+
"type": "value",
|
|
624
|
+
"value": "peru"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "pink",
|
|
628
|
+
"type": "value",
|
|
629
|
+
"value": "pink"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "plum",
|
|
633
|
+
"type": "value",
|
|
634
|
+
"value": "plum"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "powderblue",
|
|
638
|
+
"type": "value",
|
|
639
|
+
"value": "powderblue"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"name": "purple",
|
|
643
|
+
"type": "value",
|
|
644
|
+
"value": "purple"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "rebeccapurple",
|
|
648
|
+
"type": "value",
|
|
649
|
+
"value": "rebeccapurple"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "red",
|
|
653
|
+
"type": "value",
|
|
654
|
+
"value": "red"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "rosybrown",
|
|
658
|
+
"type": "value",
|
|
659
|
+
"value": "rosybrown"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "royalblue",
|
|
663
|
+
"type": "value",
|
|
664
|
+
"value": "royalblue"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "saddlebrown",
|
|
668
|
+
"type": "value",
|
|
669
|
+
"value": "saddlebrown"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "salmon",
|
|
673
|
+
"type": "value",
|
|
674
|
+
"value": "salmon"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "sandybrown",
|
|
678
|
+
"type": "value",
|
|
679
|
+
"value": "sandybrown"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "seagreen",
|
|
683
|
+
"type": "value",
|
|
684
|
+
"value": "seagreen"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "seashell",
|
|
688
|
+
"type": "value",
|
|
689
|
+
"value": "seashell"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "sienna",
|
|
693
|
+
"type": "value",
|
|
694
|
+
"value": "sienna"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "silver",
|
|
698
|
+
"type": "value",
|
|
699
|
+
"value": "silver"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "skyblue",
|
|
703
|
+
"type": "value",
|
|
704
|
+
"value": "skyblue"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "slateblue",
|
|
708
|
+
"type": "value",
|
|
709
|
+
"value": "slateblue"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "slategray",
|
|
713
|
+
"type": "value",
|
|
714
|
+
"value": "slategray"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "slategrey",
|
|
718
|
+
"type": "value",
|
|
719
|
+
"value": "slategrey"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "snow",
|
|
723
|
+
"type": "value",
|
|
724
|
+
"value": "snow"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "springgreen",
|
|
728
|
+
"type": "value",
|
|
729
|
+
"value": "springgreen"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "steelblue",
|
|
733
|
+
"type": "value",
|
|
734
|
+
"value": "steelblue"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "tan",
|
|
738
|
+
"type": "value",
|
|
739
|
+
"value": "tan"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "teal",
|
|
743
|
+
"type": "value",
|
|
744
|
+
"value": "teal"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"name": "thistle",
|
|
748
|
+
"type": "value",
|
|
749
|
+
"value": "thistle"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"name": "tomato",
|
|
753
|
+
"type": "value",
|
|
754
|
+
"value": "tomato"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"name": "turquoise",
|
|
758
|
+
"type": "value",
|
|
759
|
+
"value": "turquoise"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "violet",
|
|
763
|
+
"type": "value",
|
|
764
|
+
"value": "violet"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "wheat",
|
|
768
|
+
"type": "value",
|
|
769
|
+
"value": "wheat"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "white",
|
|
773
|
+
"type": "value",
|
|
774
|
+
"value": "white"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "whitesmoke",
|
|
778
|
+
"type": "value",
|
|
779
|
+
"value": "whitesmoke"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"name": "yellow",
|
|
783
|
+
"type": "value",
|
|
784
|
+
"value": "yellow"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "yellowgreen",
|
|
788
|
+
"type": "value",
|
|
789
|
+
"value": "yellowgreen"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"name": "transparent",
|
|
793
|
+
"prose": "The keyword transparent specifies a transparent black. It is a type of <named-color>.",
|
|
794
|
+
"type": "value",
|
|
795
|
+
"value": "transparent"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"name": "currentcolor",
|
|
799
|
+
"prose": "The keyword currentcolor represents value of the color property on the same element. Unlike <named-color>s, it is not restricted to sRGB; the value can be any <color>. Its used values is determined by resolving color values.",
|
|
800
|
+
"type": "value",
|
|
801
|
+
"value": "currentcolor"
|
|
802
|
+
}
|
|
803
|
+
]
|
|
47
804
|
},
|
|
48
|
-
|
|
49
|
-
"
|
|
805
|
+
{
|
|
806
|
+
"name": "<absolute-color-base>",
|
|
807
|
+
"type": "type",
|
|
808
|
+
"value": "<hex-color> | <absolute-color-function> | <named-color> | transparent"
|
|
50
809
|
},
|
|
51
|
-
|
|
52
|
-
"
|
|
810
|
+
{
|
|
811
|
+
"name": "<absolute-color-function>",
|
|
812
|
+
"type": "type",
|
|
813
|
+
"value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
|
|
53
814
|
},
|
|
54
|
-
|
|
55
|
-
"
|
|
815
|
+
{
|
|
816
|
+
"name": "<alpha-value>",
|
|
817
|
+
"type": "type",
|
|
818
|
+
"value": "<number> | <percentage>"
|
|
56
819
|
},
|
|
57
|
-
|
|
58
|
-
"
|
|
820
|
+
{
|
|
821
|
+
"name": "<hue>",
|
|
822
|
+
"type": "type",
|
|
823
|
+
"value": "<number> | <angle>"
|
|
59
824
|
},
|
|
60
|
-
|
|
61
|
-
"
|
|
825
|
+
{
|
|
826
|
+
"name": "rgb()",
|
|
827
|
+
"type": "function",
|
|
828
|
+
"value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? ) | rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? )"
|
|
62
829
|
},
|
|
63
|
-
|
|
64
|
-
"
|
|
830
|
+
{
|
|
831
|
+
"name": "rgba()",
|
|
832
|
+
"prose": "Also, an rgba() legacy color syntax also exists, with an identical grammar and behavior to rgb().",
|
|
833
|
+
"type": "function"
|
|
65
834
|
},
|
|
66
|
-
|
|
67
|
-
"
|
|
835
|
+
{
|
|
836
|
+
"name": "<hex-color>",
|
|
837
|
+
"prose": "The syntax of a <hex-color> is a <hash-token> token whose value consists of 3, 4, 6, or 8 hexadecimal digits. In other words, a hex color is written as a hash character, \"#\", followed by some number of digits 0-9 or letters a-f (the case of the letters doesn’t matter - #00ff00 is identical to #00FF00).",
|
|
838
|
+
"type": "type"
|
|
68
839
|
},
|
|
69
|
-
|
|
70
|
-
"
|
|
840
|
+
{
|
|
841
|
+
"name": "<named-color>",
|
|
842
|
+
"prose": "CSS defines a large set of named colors, so that common colors can be written and read more easily. A <named-color> is written as an <ident>, accepted anywhere a <color> is. As usual for CSS-defined <ident>s, all of these keywords are ASCII case-insensitive.",
|
|
843
|
+
"type": "type"
|
|
71
844
|
},
|
|
72
|
-
|
|
73
|
-
"
|
|
845
|
+
{
|
|
846
|
+
"name": "<system-color>",
|
|
847
|
+
"prose": "However, in forced colors mode, most colors on the page are forced into a restricted, user-chosen palette. The <system-color> keywords expose these user-chosen colors so that the rest of the page can integrate with this restricted palette.",
|
|
848
|
+
"type": "type",
|
|
849
|
+
"values": [
|
|
850
|
+
{
|
|
851
|
+
"name": "Canvas",
|
|
852
|
+
"prose": "Background of application content or documents.",
|
|
853
|
+
"type": "value",
|
|
854
|
+
"value": "Canvas"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"name": "CanvasText",
|
|
858
|
+
"prose": "Text in application content or documents.",
|
|
859
|
+
"type": "value",
|
|
860
|
+
"value": "CanvasText"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"name": "LinkText",
|
|
864
|
+
"prose": "Text in non-active, non-visited links. For light backgrounds, traditionally blue.",
|
|
865
|
+
"type": "value",
|
|
866
|
+
"value": "LinkText"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"name": "VisitedText",
|
|
870
|
+
"prose": "Text in visited links. For light backgrounds, traditionally purple.",
|
|
871
|
+
"type": "value",
|
|
872
|
+
"value": "VisitedText"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"name": "ActiveText",
|
|
876
|
+
"prose": "Text in active links. For light backgrounds, traditionally red.",
|
|
877
|
+
"type": "value",
|
|
878
|
+
"value": "ActiveText"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"name": "ButtonFace",
|
|
882
|
+
"prose": "The face background color for push buttons.",
|
|
883
|
+
"type": "value",
|
|
884
|
+
"value": "ButtonFace"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"name": "ButtonText",
|
|
888
|
+
"prose": "Text on push buttons.",
|
|
889
|
+
"type": "value",
|
|
890
|
+
"value": "ButtonText"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "ButtonBorder",
|
|
894
|
+
"prose": "The base border color for push buttons.",
|
|
895
|
+
"type": "value",
|
|
896
|
+
"value": "ButtonBorder"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "Field",
|
|
900
|
+
"prose": "Background of input fields.",
|
|
901
|
+
"type": "value",
|
|
902
|
+
"value": "Field"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "FieldText",
|
|
906
|
+
"prose": "Text in input fields.",
|
|
907
|
+
"type": "value",
|
|
908
|
+
"value": "FieldText"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "Highlight",
|
|
912
|
+
"prose": "Background of selected text, for example from ::selection.",
|
|
913
|
+
"type": "value",
|
|
914
|
+
"value": "Highlight"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "HighlightText",
|
|
918
|
+
"prose": "Text of selected text.",
|
|
919
|
+
"type": "value",
|
|
920
|
+
"value": "HighlightText"
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "SelectedItem",
|
|
924
|
+
"prose": "Background of selected items, for example a selected checkbox.",
|
|
925
|
+
"type": "value",
|
|
926
|
+
"value": "SelectedItem"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"name": "SelectedItemText",
|
|
930
|
+
"prose": "Text of selected items.",
|
|
931
|
+
"type": "value",
|
|
932
|
+
"value": "SelectedItemText"
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"name": "Mark",
|
|
936
|
+
"prose": "Background of text that has been specially marked (such as by the HTML mark element).",
|
|
937
|
+
"type": "value",
|
|
938
|
+
"value": "Mark"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "MarkText",
|
|
942
|
+
"prose": "Text that has been specially marked (such as by the HTML mark element).",
|
|
943
|
+
"type": "value",
|
|
944
|
+
"value": "MarkText"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"name": "GrayText",
|
|
948
|
+
"prose": "Disabled text. (Often, but not necessarily, gray.)",
|
|
949
|
+
"type": "value",
|
|
950
|
+
"value": "GrayText"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "AccentColor",
|
|
954
|
+
"prose": "Background of accented user interface controls.",
|
|
955
|
+
"type": "value",
|
|
956
|
+
"value": "AccentColor"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"name": "AccentColorText",
|
|
960
|
+
"prose": "Text of accented user interface controls.",
|
|
961
|
+
"type": "value",
|
|
962
|
+
"value": "AccentColorText"
|
|
963
|
+
}
|
|
964
|
+
]
|
|
74
965
|
},
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
"
|
|
966
|
+
{
|
|
967
|
+
"name": "hsl()",
|
|
968
|
+
"type": "function",
|
|
969
|
+
"value": "hsl( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? ) | hsl( <hue>, <percentage>, <percentage>, <alpha-value>? ) | hsl( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )",
|
|
970
|
+
"values": [
|
|
971
|
+
{
|
|
972
|
+
"name": "HSL",
|
|
973
|
+
"prose": "HSL colors are specified as a triplet of hue, saturation, and lightness. The syntax of the hsl() function is:",
|
|
974
|
+
"type": "value",
|
|
975
|
+
"value": "HSL"
|
|
976
|
+
}
|
|
977
|
+
]
|
|
78
978
|
},
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
"
|
|
979
|
+
{
|
|
980
|
+
"name": "hsla()",
|
|
981
|
+
"prose": "Also, an hsla() legacy color syntax also exists, with an identical grammar and behavior to hsl().",
|
|
982
|
+
"type": "function"
|
|
82
983
|
},
|
|
83
|
-
|
|
84
|
-
"
|
|
984
|
+
{
|
|
985
|
+
"name": "hwb()",
|
|
986
|
+
"type": "function",
|
|
987
|
+
"value": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )",
|
|
988
|
+
"values": [
|
|
989
|
+
{
|
|
990
|
+
"name": "HWB",
|
|
991
|
+
"prose": "HWB (short for Hue-Whiteness-Blackness) [HWB] is another method of specifying sRGB colors, similar to HSL', but often even easier for humans to work with. It describes colors with a starting hue, then a degree of whiteness and blackness to mix into that base hue.",
|
|
992
|
+
"type": "value",
|
|
993
|
+
"value": "HWB"
|
|
994
|
+
}
|
|
995
|
+
]
|
|
85
996
|
},
|
|
86
|
-
|
|
87
|
-
"
|
|
997
|
+
{
|
|
998
|
+
"name": "lab()",
|
|
999
|
+
"type": "function",
|
|
1000
|
+
"value": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
|
|
1001
|
+
"values": [
|
|
1002
|
+
{
|
|
1003
|
+
"name": "Lab",
|
|
1004
|
+
"prose": "Lab is a rectangular coordinate system with a central Lightness axis. This value is usually written as a unitless number; for compatibility with the rest of CSS, it is written as a percentage. 100% means an L value of 100, not 1.0. L=0% is deep black (no light at all) while L=100% is a diffuse white",
|
|
1005
|
+
"type": "value",
|
|
1006
|
+
"value": "Lab"
|
|
1007
|
+
}
|
|
1008
|
+
]
|
|
88
1009
|
},
|
|
89
|
-
|
|
90
|
-
"
|
|
1010
|
+
{
|
|
1011
|
+
"name": "lch()",
|
|
1012
|
+
"type": "function",
|
|
1013
|
+
"value": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
|
|
1014
|
+
"values": [
|
|
1015
|
+
{
|
|
1016
|
+
"name": "LCH",
|
|
1017
|
+
"prose": "CIE LCH has the same L axis as Lab, but uses polar coordinates C (chroma) and H (hue), making it a polar, cylindrical coordinate system. C is the geometric distance from the L axis and H is the angle from the positive a axis, towards the positive b axis.",
|
|
1018
|
+
"type": "value",
|
|
1019
|
+
"value": "LCH"
|
|
1020
|
+
}
|
|
1021
|
+
]
|
|
91
1022
|
},
|
|
92
|
-
|
|
93
|
-
"
|
|
1023
|
+
{
|
|
1024
|
+
"name": "oklab()",
|
|
1025
|
+
"type": "function",
|
|
1026
|
+
"value": "oklab( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
|
|
1027
|
+
"values": [
|
|
1028
|
+
{
|
|
1029
|
+
"name": "Oklab",
|
|
1030
|
+
"prose": "Recently, Oklab, an improved Lab-like space has been developed [Oklab]. The corresponding polar form is called Oklch. It was produced by numerical optimisation of a large dataset of visually similar colors, and has improved hue linearity, hue uniformity, and chroma uniformity compared to CIE LCH.",
|
|
1031
|
+
"type": "value",
|
|
1032
|
+
"value": "Oklab"
|
|
1033
|
+
}
|
|
1034
|
+
]
|
|
94
1035
|
},
|
|
95
|
-
|
|
96
|
-
"
|
|
1036
|
+
{
|
|
1037
|
+
"name": "oklch()",
|
|
1038
|
+
"type": "function",
|
|
1039
|
+
"value": "oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
|
|
1040
|
+
"values": [
|
|
1041
|
+
{
|
|
1042
|
+
"name": "Oklch",
|
|
1043
|
+
"prose": "Recently, Oklab, an improved Lab-like space has been developed [Oklab]. The corresponding polar form is called Oklch. It was produced by numerical optimisation of a large dataset of visually similar colors, and has improved hue linearity, hue uniformity, and chroma uniformity compared to CIE LCH.",
|
|
1044
|
+
"type": "value",
|
|
1045
|
+
"value": "Oklch"
|
|
1046
|
+
}
|
|
1047
|
+
]
|
|
97
1048
|
},
|
|
98
|
-
|
|
99
|
-
"
|
|
1049
|
+
{
|
|
1050
|
+
"name": "color()",
|
|
1051
|
+
"type": "function",
|
|
1052
|
+
"value": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
|
|
1053
|
+
"values": [
|
|
1054
|
+
{
|
|
1055
|
+
"name": "srgb",
|
|
1056
|
+
"prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m2 Black luminance 0.20 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
|
|
1057
|
+
"type": "value",
|
|
1058
|
+
"value": "srgb"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"name": "srgb-linear",
|
|
1062
|
+
"prose": "The srgb-linear [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function unity, see below White luminance 80.0 cd/m2 Black luminance 0.20 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 cl = c; c is the red, green or blue component. cl is the corresponding linear-light component, which is identical. To avoid banding artifacts, a higher precision is required for srgb-linear than for srgb. For example, these are the same color color(srgb 0.691 0.139 0.259) color(srgb-linear 0.435 0.017 0.055)",
|
|
1063
|
+
"type": "value",
|
|
1064
|
+
"value": "srgb-linear"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "display-p3",
|
|
1068
|
+
"prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. It uses the same primary chromaticities as [DCI-P3], but with a D65 whitepoint, and the same transfer curve as sRGB. Modern displays, TVs, laptop screens and phone screens are able to display all, or nearly all, of the display-p3 gamut. It has the following characteristics: x y Red chromaticity 0.680 0.320 Green chromaticity 0.265 0.690 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function same as srgb White luminance 80.0 cd/m2 Black luminance 0.80 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the P3 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. P3 primaries have higher Chroma.",
|
|
1069
|
+
"type": "value",
|
|
1070
|
+
"value": "display-p3"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "a98-rgb",
|
|
1074
|
+
"prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function, close to but not exactly 1/2.2. It has the following characteristics: x y Red chromaticity 0.6400 0.3300 Green chromaticity 0.2100 0.7100 Blue chromaticity 0.1500 0.0600 White chromaticity D65 Transfer function 256/563 White luminance 160.0 cd/m2 Black luminance 0.5557 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the A98 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. a98 primaries have higher Chroma, especially the yellow, green and cyan.",
|
|
1075
|
+
"type": "value",
|
|
1076
|
+
"value": "a98-rgb"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "prophoto-rgb",
|
|
1080
|
+
"prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function with a value of 1/1.8, and a small linear portion near black. The white point is D50, the same as is used by CIE Lab. Thus, conversion to CIE Lab does not require the chromatic adaptation step. The ProPhoto RGB space uses hyper-saturated, non physically realizable primaries. These were chosen to allow a wide color gamut and in particular, to minimize hue shifts under tonal manipulation. It is often used in digital photography as a wide gamut color space for the archival version of photographic images. The prophoto-rgb color space allows CSS to specify colors that will match colors in such images having the same RGB values. The ProPhoto RGB space was originally developed by Kodak and is described in [Wolfe]. It was standardized by ISO as [ROMM],[ROMM-RGB]. The white luminance is given as a range, and the viewing flare (and thus, the black luminance) is 0.5% to 1.0% of this. It has the following characteristics: x y Red chromaticity 0.734699 0.265301 Green chromaticity 0.159597 0.840403 Blue chromaticity 0.036598 0.000105 White chromaticity D50 Transfer function see below White luminance 160.0 to 640.0 cd/m2 Black luminance See text Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const E = 16/512; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= E) { cl = c / 16; } else { cl = sign * Math.pow(c, 1.8); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the prophoto-rgb color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. prophoto-rgb primaries and secondaries have much higher Chroma, but much of this ultrawide gamut does not correspond to physically realizable colors.",
|
|
1081
|
+
"type": "value",
|
|
1082
|
+
"value": "prophoto-rgb"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "rec2020",
|
|
1086
|
+
"prose": "The rec2020 [Rec.2020] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1], (\"full-range\", in video terminology). ITU Reference 2020 is used for Ultra High Definition, 4k and 8k television. The primaries are physically realizable, but with difficulty as they lie very close to the spectral locus. Current displays are unable to reproduce the full gamut of rec2020. Coverage is expected to increase over time as displays improve. It has the following characteristics: x y Red chromaticity 0.708 0.292 Green chromaticity 0.170 0.797 Blue chromaticity 0.131 0.046 White chromaticity D65 Transfer function see below, from [Rec.2020] table 4 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const α = 1.09929682680944 ; const β = 0.018053968510807; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < β * 4.5 ) { cl = c / 4.5; } else { cl = sign * (Math.pow((abs + α -1 ) / α, 1/0.45)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the rec2020 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. rec2020 primaries have much higher Chroma.",
|
|
1087
|
+
"type": "value",
|
|
1088
|
+
"value": "rec2020"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "xyz-d50",
|
|
1092
|
+
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
|
|
1093
|
+
"type": "value",
|
|
1094
|
+
"value": "xyz-d50"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "xyz-d65",
|
|
1098
|
+
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
|
|
1099
|
+
"type": "value",
|
|
1100
|
+
"value": "xyz-d65"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"name": "xyz",
|
|
1104
|
+
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
|
|
1105
|
+
"type": "value",
|
|
1106
|
+
"value": "xyz"
|
|
1107
|
+
}
|
|
1108
|
+
]
|
|
100
1109
|
},
|
|
101
|
-
|
|
1110
|
+
{
|
|
1111
|
+
"name": "<colorspace-params>",
|
|
1112
|
+
"type": "type",
|
|
102
1113
|
"value": "[ <predefined-rgb-params> | <xyz-params>]"
|
|
103
1114
|
},
|
|
104
|
-
|
|
1115
|
+
{
|
|
1116
|
+
"name": "<predefined-rgb-params>",
|
|
1117
|
+
"type": "type",
|
|
105
1118
|
"value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
|
|
106
1119
|
},
|
|
107
|
-
|
|
1120
|
+
{
|
|
1121
|
+
"name": "<predefined-rgb>",
|
|
1122
|
+
"type": "type",
|
|
108
1123
|
"value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020"
|
|
109
1124
|
},
|
|
110
|
-
|
|
1125
|
+
{
|
|
1126
|
+
"name": "<xyz-params>",
|
|
1127
|
+
"type": "type",
|
|
111
1128
|
"value": "<xyz-space> [ <number> | <percentage> | none ]{3}"
|
|
112
1129
|
},
|
|
113
|
-
|
|
1130
|
+
{
|
|
1131
|
+
"name": "<xyz-space>",
|
|
1132
|
+
"type": "type",
|
|
114
1133
|
"value": "xyz | xyz-d50 | xyz-d65"
|
|
115
1134
|
},
|
|
116
|
-
|
|
1135
|
+
{
|
|
1136
|
+
"name": "<color-space>",
|
|
1137
|
+
"type": "type",
|
|
117
1138
|
"value": "<rectangular-color-space> | <polar-color-space>"
|
|
118
1139
|
},
|
|
119
|
-
|
|
1140
|
+
{
|
|
1141
|
+
"name": "<rectangular-color-space>",
|
|
1142
|
+
"type": "type",
|
|
120
1143
|
"value": "srgb | srgb-linear | lab | oklab | xyz | xyz-d50 | xyz-d65"
|
|
121
1144
|
},
|
|
122
|
-
|
|
1145
|
+
{
|
|
1146
|
+
"name": "<polar-color-space>",
|
|
1147
|
+
"type": "type",
|
|
123
1148
|
"value": "hsl | hwb | lch | oklch"
|
|
124
1149
|
},
|
|
125
|
-
|
|
1150
|
+
{
|
|
1151
|
+
"name": "<hue-interpolation-method>",
|
|
1152
|
+
"type": "type",
|
|
126
1153
|
"value": "[ shorter | longer | increasing | decreasing ] hue"
|
|
127
1154
|
},
|
|
128
|
-
|
|
1155
|
+
{
|
|
1156
|
+
"name": "<color-interpolation-method>",
|
|
1157
|
+
"type": "type",
|
|
129
1158
|
"value": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? ]"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "<deprecated-color>",
|
|
1162
|
+
"prose": "The deprecated system colors are represented as the <deprecated-color> sub-type, and are defined as:",
|
|
1163
|
+
"type": "type"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"name": "<quirky-color>",
|
|
1167
|
+
"prose": "When CSS is being parsed in quirks mode, <quirky-color> is a type of <color> that is only valid in certain properties:",
|
|
1168
|
+
"type": "type"
|
|
130
1169
|
}
|
|
131
|
-
|
|
1170
|
+
]
|
|
132
1171
|
}
|