chromonym 3.4.0 → 3.5.1

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.
Files changed (54) hide show
  1. package/NOTICE.md +75 -0
  2. package/README.md +11 -5
  3. package/dist/conversions/hex.d.ts.map +1 -1
  4. package/dist/conversions/hsl.d.ts.map +1 -1
  5. package/dist/conversions/hsv.d.ts.map +1 -1
  6. package/dist/conversions/pantone.d.ts.map +1 -1
  7. package/dist/conversions/rgb.d.ts.map +1 -1
  8. package/dist/convert.d.ts.map +1 -1
  9. package/dist/defineColorPalette.d.ts.map +1 -1
  10. package/dist/detectFormat.d.ts.map +1 -1
  11. package/dist/identify.d.ts.map +1 -1
  12. package/dist/index.d.ts +4 -0
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +4 -0
  15. package/dist/index.js.map +1 -1
  16. package/dist/indexing.d.ts.map +1 -1
  17. package/dist/math/clamp.d.ts.map +1 -1
  18. package/dist/math/colorSpace.d.ts.map +1 -1
  19. package/dist/math/deltaE.d.ts.map +1 -1
  20. package/dist/math/editDistance.d.ts.map +1 -1
  21. package/dist/math/euclideanDistance.d.ts.map +1 -1
  22. package/dist/math/hueSector.d.ts.map +1 -1
  23. package/dist/palettes/crayola.d.ts.map +1 -1
  24. package/dist/palettes/fs595b.d.ts.map +1 -1
  25. package/dist/palettes/fs595c.d.ts.map +1 -1
  26. package/dist/palettes/isccNbs.d.ts.map +1 -1
  27. package/dist/palettes/nbs.d.ts.map +1 -1
  28. package/dist/palettes/ncs.d.ts.map +1 -1
  29. package/dist/palettes/normalize.d.ts.map +1 -1
  30. package/dist/palettes/ntc.d.ts.map +1 -1
  31. package/dist/palettes/pantone.d.ts.map +1 -1
  32. package/dist/palettes/pokemon.d.ts +81 -0
  33. package/dist/palettes/pokemon.d.ts.map +1 -0
  34. package/dist/palettes/pokemon.js +64 -0
  35. package/dist/palettes/pokemon.js.map +1 -0
  36. package/dist/palettes/ral.d.ts +480 -0
  37. package/dist/palettes/ral.d.ts.map +1 -0
  38. package/dist/palettes/ral.js +271 -0
  39. package/dist/palettes/ral.js.map +1 -0
  40. package/dist/palettes/resene.d.ts.map +1 -1
  41. package/dist/palettes/tailwind.d.ts +539 -0
  42. package/dist/palettes/tailwind.d.ts.map +1 -0
  43. package/dist/palettes/tailwind.js +317 -0
  44. package/dist/palettes/tailwind.js.map +1 -0
  45. package/dist/palettes/web.d.ts.map +1 -1
  46. package/dist/palettes/werner.d.ts +270 -0
  47. package/dist/palettes/werner.d.ts.map +1 -0
  48. package/dist/palettes/werner.js +168 -0
  49. package/dist/palettes/werner.js.map +1 -0
  50. package/dist/palettes/x11.d.ts.map +1 -1
  51. package/dist/palettes/xkcd.d.ts.map +1 -1
  52. package/dist/resolve.d.ts.map +1 -1
  53. package/dist/types.d.ts.map +1 -1
  54. package/package.json +44 -17
@@ -0,0 +1,271 @@
1
+ import { standardNormalize } from './normalize.js';
2
+ /**
3
+ * RAL Classic — the European industrial color standard published by
4
+ * RAL gGmbH (Bonn), used across paint, coatings, architecture, signage,
5
+ * and manufacturing. Originated in 1927 with 40 colors; this palette
6
+ * ships the modern 216-entry Classic set spanning ten groups (Yellows
7
+ * through Whites/Blacks).
8
+ *
9
+ * Keys are the RAL code verbatim ('RAL 1000', 'RAL 9023'). The English
10
+ * color name is preserved as an inline source comment for skimmers but
11
+ * is not part of the key — lookups go through the code, mirroring how
12
+ * Pantone is keyed ('185 C') rather than by the color's name.
13
+ * `standardNormalize` strips the space, so `resolve('ral1000')`,
14
+ * `resolve('RAL 1000')`, and `resolve('Ral-1000')` all hit the same entry.
15
+ *
16
+ * sRGB values are from the MIT-licensed
17
+ * github.com/JohannesVoigt/ral-color-converter dataset, which ships
18
+ * the Classic set with multi-language names and CMYK / LRV companions.
19
+ * **RAL®** is a registered trademark of **RAL gGmbH**; this palette
20
+ * is a nominative reference, not a licensed RAL product. See NOTICE.md.
21
+ *
22
+ * Default metric: `deltaE2000`. RAL coatings cluster densely in some
23
+ * regions (the 7000 greys especially have 38 closely-spaced entries
24
+ * across the achromatic axis); CIEDE2000's hue/chroma compensation
25
+ * picks better neighbors than the cheaper deltaE76.
26
+ */
27
+ const ralColors = {
28
+ // --- Yellows (RAL 1000-RAL 1037; 30 entries) ---
29
+ 'RAL 1000': '#cdba88', // Green beige
30
+ 'RAL 1001': '#d0b084', // Beige
31
+ 'RAL 1002': '#d2aa6d', // Sand yellow
32
+ 'RAL 1003': '#f9a900', // Signal yellow
33
+ 'RAL 1004': '#e49e00', // Golden yellow
34
+ 'RAL 1005': '#cb8f00', // Honey yellow
35
+ 'RAL 1006': '#e19000', // Maize yellow
36
+ 'RAL 1007': '#e88c00', // Daffodil yellow
37
+ 'RAL 1011': '#af8050', // Brown beige
38
+ 'RAL 1012': '#ddaf28', // Lemon yellow
39
+ 'RAL 1013': '#e3d9c7', // Oyster white
40
+ 'RAL 1014': '#ddc49b', // Ivory
41
+ 'RAL 1015': '#e6d2b5', // Light ivory
42
+ 'RAL 1016': '#f1dd39', // Sulfur yellow
43
+ 'RAL 1017': '#f6a951', // Saffron yellow
44
+ 'RAL 1018': '#faca31', // Zinc yellow
45
+ 'RAL 1019': '#a48f7a', // Grey beige
46
+ 'RAL 1020': '#a08f65', // Olive yellow
47
+ 'RAL 1021': '#f6b600', // Colza yellow
48
+ 'RAL 1023': '#f7b500', // Traffic yellow
49
+ 'RAL 1024': '#ba8f4c', // Ochre yellow
50
+ 'RAL 1026': '#ffff00', // Luminous yellow
51
+ 'RAL 1027': '#a77f0f', // Curry
52
+ 'RAL 1028': '#ff9c00', // Melon yellow
53
+ 'RAL 1032': '#e2a300', // Broom yellow
54
+ 'RAL 1033': '#f99a1d', // Dahlia yellow
55
+ 'RAL 1034': '#eb9c52', // Pastel yellow
56
+ 'RAL 1035': '#8f8370', // Pearl beige
57
+ 'RAL 1036': '#806440', // Pearl gold
58
+ 'RAL 1037': '#f09200', // Sun yellow
59
+ // --- Oranges (RAL 2000-RAL 2017; 14 entries) ---
60
+ 'RAL 2000': '#da6e00', // Yellow orange
61
+ 'RAL 2001': '#ba481c', // Red orange
62
+ 'RAL 2002': '#bf3922', // Vermilion
63
+ 'RAL 2003': '#f67829', // Pastel orange
64
+ 'RAL 2004': '#e25304', // Pure orange
65
+ 'RAL 2005': '#ff4d08', // Luminous orange
66
+ 'RAL 2007': '#ffb200', // Luminous bright orange
67
+ 'RAL 2008': '#ec6b22', // Bright red orange
68
+ 'RAL 2009': '#de5308', // Traffic orange
69
+ 'RAL 2010': '#d05d29', // Signal orange
70
+ 'RAL 2011': '#e26e0f', // Deep orange
71
+ 'RAL 2012': '#d5654e', // Salmon orange
72
+ 'RAL 2013': '#923e25', // Pearl orange
73
+ 'RAL 2017': '#fc5500', // RAL orange
74
+ // --- Reds (RAL 3000-RAL 3033; 25 entries) ---
75
+ 'RAL 3000': '#a72920', // Flame red
76
+ 'RAL 3001': '#9b2423', // Signal red
77
+ 'RAL 3002': '#9b2321', // Carmine red
78
+ 'RAL 3003': '#861a22', // Ruby red
79
+ 'RAL 3004': '#6b1c23', // Purple red
80
+ 'RAL 3005': '#59191f', // Wine red
81
+ 'RAL 3007': '#3e2022', // Black red
82
+ 'RAL 3009': '#6d342d', // Oxide red
83
+ 'RAL 3011': '#782423', // Brown red
84
+ 'RAL 3012': '#c5856d', // Beige red
85
+ 'RAL 3013': '#972e25', // Tomato red
86
+ 'RAL 3014': '#cb7375', // Antique pink
87
+ 'RAL 3015': '#d8a0a6', // Light pink
88
+ 'RAL 3016': '#a63d30', // Coral red
89
+ 'RAL 3017': '#ca555d', // Rose
90
+ 'RAL 3018': '#c63f4a', // Strawberry red
91
+ 'RAL 3020': '#bb1f11', // Traffic red
92
+ 'RAL 3022': '#cf6955', // Salmon pink
93
+ 'RAL 3024': '#ff2d21', // Luminous red
94
+ 'RAL 3026': '#ff2a1c', // Luminous bright red
95
+ 'RAL 3027': '#ab273c', // Raspberry red
96
+ 'RAL 3028': '#cc2c24', // Pure red
97
+ 'RAL 3031': '#a63437', // Orient red
98
+ 'RAL 3032': '#701d24', // Pearl ruby red
99
+ 'RAL 3033': '#a53a2e', // Pearl pink
100
+ // --- Violets (RAL 4001-RAL 4012; 12 entries) ---
101
+ 'RAL 4001': '#816183', // Red lilac
102
+ 'RAL 4002': '#8d3c4b', // Red violet
103
+ 'RAL 4003': '#c4618c', // Heather violet
104
+ 'RAL 4004': '#651e38', // Claret violet
105
+ 'RAL 4005': '#76689a', // Blue lilac
106
+ 'RAL 4006': '#903373', // Traffic purple
107
+ 'RAL 4007': '#47243c', // Purple violet
108
+ 'RAL 4008': '#844c82', // Signal violet
109
+ 'RAL 4009': '#9d8692', // Pastel violet
110
+ 'RAL 4010': '#bb4077', // Telemagenta
111
+ 'RAL 4011': '#6e6387', // Pearl violet
112
+ 'RAL 4012': '#6a6b7f', // Pearl blackberry
113
+ // --- Blues (RAL 5000-RAL 5026; 25 entries) ---
114
+ 'RAL 5000': '#304f6e', // Violet blue
115
+ 'RAL 5001': '#0e4c64', // Green blue
116
+ 'RAL 5002': '#00387a', // Ultramarine blue
117
+ 'RAL 5003': '#1f3855', // Sapphire blue
118
+ 'RAL 5004': '#191e28', // Black blue
119
+ 'RAL 5005': '#005387', // Signal blue
120
+ 'RAL 5007': '#376b8c', // Brillant blue
121
+ 'RAL 5008': '#2b3a44', // Grey blue
122
+ 'RAL 5009': '#215f78', // Azure blue
123
+ 'RAL 5010': '#004f7c', // Gentian blue
124
+ 'RAL 5011': '#1a2b3c', // Steel blue
125
+ 'RAL 5012': '#0089b6', // Light blue
126
+ 'RAL 5013': '#193153', // Cobalt blue
127
+ 'RAL 5014': '#637d96', // Pigeon blue
128
+ 'RAL 5015': '#007caf', // Sky blue
129
+ 'RAL 5017': '#005b8c', // Traffic blue
130
+ 'RAL 5018': '#048b8c', // Turquoise blue
131
+ 'RAL 5019': '#005e83', // Capri blue
132
+ 'RAL 5020': '#00414b', // Ocean blue
133
+ 'RAL 5021': '#007577', // Water blue
134
+ 'RAL 5022': '#222d5a', // Night blue
135
+ 'RAL 5023': '#41698c', // Distant blue
136
+ 'RAL 5024': '#6093ac', // Pastel blue
137
+ 'RAL 5025': '#20697c', // Pearl gentian blue
138
+ 'RAL 5026': '#0f3052', // Pearl night blue
139
+ // --- Greens (RAL 6000-RAL 6039; 37 entries) ---
140
+ 'RAL 6000': '#3c7460', // Patina green
141
+ 'RAL 6001': '#366735', // Emerald green
142
+ 'RAL 6002': '#325928', // Leaf green
143
+ 'RAL 6003': '#50533c', // Olive green
144
+ 'RAL 6004': '#024442', // Blue green
145
+ 'RAL 6005': '#114232', // Moss green
146
+ 'RAL 6006': '#3c392e', // Grey olive
147
+ 'RAL 6007': '#2c3222', // Bottle green
148
+ 'RAL 6008': '#36342a', // Brown green
149
+ 'RAL 6009': '#27352a', // Fir green
150
+ 'RAL 6010': '#4d6f39', // Grass green
151
+ 'RAL 6011': '#6b7c59', // Reseda green
152
+ 'RAL 6012': '#2f3d3a', // Black green
153
+ 'RAL 6013': '#7c765a', // Reed green
154
+ 'RAL 6014': '#474135', // Yellow olive
155
+ 'RAL 6015': '#3d3d36', // Black olive
156
+ 'RAL 6016': '#00694c', // Turquoise green
157
+ 'RAL 6017': '#587f40', // May green
158
+ 'RAL 6018': '#60993b', // Yellow green
159
+ 'RAL 6019': '#b9ceac', // Pastel green
160
+ 'RAL 6020': '#37422f', // Chrome green
161
+ 'RAL 6021': '#8a9977', // Pale green
162
+ 'RAL 6022': '#3a3327', // Olive drab
163
+ 'RAL 6024': '#008351', // Traffic green
164
+ 'RAL 6025': '#5e6e3b', // Fern green
165
+ 'RAL 6026': '#005f4e', // Opal green
166
+ 'RAL 6027': '#7ebab5', // Light green
167
+ 'RAL 6028': '#315442', // Pine green
168
+ 'RAL 6029': '#006f3d', // Mint green
169
+ 'RAL 6032': '#237f52', // Signal green
170
+ 'RAL 6033': '#45877f', // Mint turquoise
171
+ 'RAL 6034': '#7aadac', // Pastel turquoise
172
+ 'RAL 6035': '#194d25', // Pearl green
173
+ 'RAL 6036': '#04574b', // Pearl opal green
174
+ 'RAL 6037': '#008b29', // Pure green
175
+ 'RAL 6038': '#00b51b', // Luminous green
176
+ 'RAL 6039': '#b3c43e', // Fibrous green
177
+ // --- Greys (RAL 7000-RAL 7048; 38 entries) ---
178
+ 'RAL 7000': '#7a888e', // Squirrel grey
179
+ 'RAL 7001': '#8c979c', // Silver grey
180
+ 'RAL 7002': '#817863', // Olive grey
181
+ 'RAL 7003': '#797669', // Moss grey
182
+ 'RAL 7004': '#9a9b9b', // Signal grey
183
+ 'RAL 7005': '#6b6e6b', // Mouse grey
184
+ 'RAL 7006': '#766a5e', // Beige grey
185
+ 'RAL 7008': '#745f3d', // Khaki grey
186
+ 'RAL 7009': '#5d6058', // Green grey
187
+ 'RAL 7010': '#585c56', // Tarpaulin grey
188
+ 'RAL 7011': '#52595d', // Iron grey
189
+ 'RAL 7012': '#575d5e', // Basalt grey
190
+ 'RAL 7013': '#575044', // Brown grey
191
+ 'RAL 7015': '#4f5358', // Slate grey
192
+ 'RAL 7016': '#383e42', // Anthracite grey
193
+ 'RAL 7021': '#2f3234', // Black grey
194
+ 'RAL 7022': '#4c4a44', // Umbra grey
195
+ 'RAL 7023': '#808076', // Concrete grey
196
+ 'RAL 7024': '#45494e', // Graphite grey
197
+ 'RAL 7026': '#374345', // Granite grey
198
+ 'RAL 7030': '#928e85', // Stone grey
199
+ 'RAL 7031': '#5b686d', // Blue grey
200
+ 'RAL 7032': '#b5b0a1', // Pebble grey
201
+ 'RAL 7033': '#7f8274', // Cement grey
202
+ 'RAL 7034': '#92886f', // Yellow grey
203
+ 'RAL 7035': '#c5c7c4', // Light grey
204
+ 'RAL 7036': '#979392', // Platinum grey
205
+ 'RAL 7037': '#7a7b7a', // Dusty grey
206
+ 'RAL 7038': '#b0b0a9', // Agate grey
207
+ 'RAL 7039': '#6b665e', // Quartz grey
208
+ 'RAL 7040': '#989ea1', // Window grey
209
+ 'RAL 7042': '#8e9291', // Traffic grey A
210
+ 'RAL 7043': '#4f5250', // Traffic grey B
211
+ 'RAL 7044': '#b7b3a8', // Silk grey
212
+ 'RAL 7045': '#8d9295', // Telegrey 1
213
+ 'RAL 7046': '#7e868a', // Telegrey 2
214
+ 'RAL 7047': '#c8c8c7', // Telegrey 4
215
+ 'RAL 7048': '#817b73', // Pearl mouse grey
216
+ // --- Browns (RAL 8000-RAL 8029; 20 entries) ---
217
+ 'RAL 8000': '#89693f', // Green brown
218
+ 'RAL 8001': '#9d622b', // Ochre brown
219
+ 'RAL 8002': '#794d3e', // Signal brown
220
+ 'RAL 8003': '#7e4b27', // Clay brown
221
+ 'RAL 8004': '#8d4931', // Copper brown
222
+ 'RAL 8007': '#70462b', // Fawn brown
223
+ 'RAL 8008': '#724a25', // Olive brown
224
+ 'RAL 8011': '#5a3827', // Nut brown
225
+ 'RAL 8012': '#66332b', // Red brown
226
+ 'RAL 8014': '#4a3526', // Sepia brown
227
+ 'RAL 8015': '#5e2f26', // Chestnut brown
228
+ 'RAL 8016': '#4c2b20', // Mahogany brown
229
+ 'RAL 8017': '#442f29', // Chocolate brown
230
+ 'RAL 8019': '#3d3635', // Grey brown
231
+ 'RAL 8022': '#1a1719', // Black brown
232
+ 'RAL 8023': '#a45729', // Orange brown
233
+ 'RAL 8024': '#795038', // Beige brown
234
+ 'RAL 8025': '#755847', // Pale brown
235
+ 'RAL 8028': '#513a2a', // Terra brown
236
+ 'RAL 8029': '#7f4031', // Pearl copper
237
+ // --- Whites and Blacks (RAL 9001-RAL 9023; 15 entries) ---
238
+ 'RAL 9001': '#e9e0d2', // Cream
239
+ 'RAL 9002': '#d6d5cb', // Grey white
240
+ 'RAL 9003': '#ecece7', // Signal white
241
+ 'RAL 9004': '#2b2b2c', // Signal black
242
+ 'RAL 9005': '#0e0e10', // Jet black
243
+ 'RAL 9006': '#a1a1a0', // White aluminium
244
+ 'RAL 9007': '#868581', // Grey aluminium
245
+ 'RAL 9010': '#f1ede1', // Pure white
246
+ 'RAL 9011': '#27292b', // Graphite black
247
+ 'RAL 9012': '#f8f2e1', // Cleanroom white
248
+ 'RAL 9016': '#f1f1ea', // Traffic white
249
+ 'RAL 9017': '#29292a', // Traffic black
250
+ 'RAL 9018': '#c8cbc4', // Papyrus white
251
+ 'RAL 9022': '#858583', // Pearl light grey
252
+ 'RAL 9023': '#787b7a', // Pearl dark grey
253
+ };
254
+ /**
255
+ * RAL Classic as a `Palette<RalColorName>`. 216 entries spanning
256
+ * RAL 1000-RAL 9023 across ten color groups. Keys are RAL codes
257
+ * ('RAL 1000', 'RAL 9023'); the English color name is in source-side
258
+ * comments for skimmers. Default metric is `'deltaE2000'`.
259
+ *
260
+ * @example
261
+ * identify('#27292b', { palette: ral }); // 'RAL 9011' (Graphite black)
262
+ * resolve('RAL 5002', { palette: ral }); // '#00387a' (Ultramarine blue)
263
+ * ral.colors['RAL 1003']; // '#f9a900' (Signal yellow)
264
+ */
265
+ export const ral = {
266
+ name: 'ral',
267
+ colors: ralColors,
268
+ normalize: standardNormalize,
269
+ defaultMetric: 'deltaE2000',
270
+ };
271
+ //# sourceMappingURL=ral.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ral.js","sourceRoot":"","sources":["../../src/palettes/ral.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,SAAS,GAAG;IAChB,kDAAkD;IAClD,UAAU,EAAE,SAAS,EAAE,cAAc;IACrC,UAAU,EAAE,SAAS,EAAE,QAAQ;IAC/B,UAAU,EAAE,SAAS,EAAE,cAAc;IACrC,UAAU,EAAE,SAAS,EAAE,gBAAgB;IACvC,UAAU,EAAE,SAAS,EAAE,gBAAgB;IACvC,UAAU,EAAE,SAAS,EAAE,eAAe;IACtC,UAAU,EAAE,SAAS,EAAE,eAAe;IACtC,UAAU,EAAE,SAAS,EAAE,kBAAkB;IACzC,UAAU,EAAE,SAAS,EAAE,cAAc;IACrC,UAA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BAAkB;IACzC,UAAU,EAAE,SAAS,EAAE,iBAAiB;IACxC,UAAU,EAAE,SAAS,EAAE,aAAa;IACpC,UAAU,EAAE,SAAS,EAAE,iBAAiB;IACxC,UAAU,EAAE,SAAS,EAAE,kBAAkB;IACzC,UAAU,EAAE,SAAS,EAAE,gBAAgB;IACvC,UAAU,EAAE,SAAS,EAAE,gBAAgB;IACvC,UAAU,EAAE,SAAS,EAAE,gBAAgB;IACvC,UAAU,EAAE,SAAS,EAAE,mBAAmB;IAC1C,UAAU,EAAE,SAAS,EAAE,kBAAkB;CACjC,CAAC;AAIX;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,IAAI,EAAE,KAAK;IACX,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,iBAAiB;IAC5B,aAAa,EAAE,YAAY;CACa,CAAC","sourcesContent":["import type { Palette } from '../types.js';\nimport { standardNormalize } from './normalize.js';\n\n/**\n * RAL Classic — the European industrial color standard published by\n * RAL gGmbH (Bonn), used across paint, coatings, architecture, signage,\n * and manufacturing. Originated in 1927 with 40 colors; this palette\n * ships the modern 216-entry Classic set spanning ten groups (Yellows\n * through Whites/Blacks).\n *\n * Keys are the RAL code verbatim ('RAL 1000', 'RAL 9023'). The English\n * color name is preserved as an inline source comment for skimmers but\n * is not part of the key — lookups go through the code, mirroring how\n * Pantone is keyed ('185 C') rather than by the color's name.\n * `standardNormalize` strips the space, so `resolve('ral1000')`,\n * `resolve('RAL 1000')`, and `resolve('Ral-1000')` all hit the same entry.\n *\n * sRGB values are from the MIT-licensed\n * github.com/JohannesVoigt/ral-color-converter dataset, which ships\n * the Classic set with multi-language names and CMYK / LRV companions.\n * **RAL®** is a registered trademark of **RAL gGmbH**; this palette\n * is a nominative reference, not a licensed RAL product. See NOTICE.md.\n *\n * Default metric: `deltaE2000`. RAL coatings cluster densely in some\n * regions (the 7000 greys especially have 38 closely-spaced entries\n * across the achromatic axis); CIEDE2000's hue/chroma compensation\n * picks better neighbors than the cheaper deltaE76.\n */\nconst ralColors = {\n // --- Yellows (RAL 1000-RAL 1037; 30 entries) ---\n 'RAL 1000': '#cdba88', // Green beige\n 'RAL 1001': '#d0b084', // Beige\n 'RAL 1002': '#d2aa6d', // Sand yellow\n 'RAL 1003': '#f9a900', // Signal yellow\n 'RAL 1004': '#e49e00', // Golden yellow\n 'RAL 1005': '#cb8f00', // Honey yellow\n 'RAL 1006': '#e19000', // Maize yellow\n 'RAL 1007': '#e88c00', // Daffodil yellow\n 'RAL 1011': '#af8050', // Brown beige\n 'RAL 1012': '#ddaf28', // Lemon yellow\n 'RAL 1013': '#e3d9c7', // Oyster white\n 'RAL 1014': '#ddc49b', // Ivory\n 'RAL 1015': '#e6d2b5', // Light ivory\n 'RAL 1016': '#f1dd39', // Sulfur yellow\n 'RAL 1017': '#f6a951', // Saffron yellow\n 'RAL 1018': '#faca31', // Zinc yellow\n 'RAL 1019': '#a48f7a', // Grey beige\n 'RAL 1020': '#a08f65', // Olive yellow\n 'RAL 1021': '#f6b600', // Colza yellow\n 'RAL 1023': '#f7b500', // Traffic yellow\n 'RAL 1024': '#ba8f4c', // Ochre yellow\n 'RAL 1026': '#ffff00', // Luminous yellow\n 'RAL 1027': '#a77f0f', // Curry\n 'RAL 1028': '#ff9c00', // Melon yellow\n 'RAL 1032': '#e2a300', // Broom yellow\n 'RAL 1033': '#f99a1d', // Dahlia yellow\n 'RAL 1034': '#eb9c52', // Pastel yellow\n 'RAL 1035': '#8f8370', // Pearl beige\n 'RAL 1036': '#806440', // Pearl gold\n 'RAL 1037': '#f09200', // Sun yellow\n // --- Oranges (RAL 2000-RAL 2017; 14 entries) ---\n 'RAL 2000': '#da6e00', // Yellow orange\n 'RAL 2001': '#ba481c', // Red orange\n 'RAL 2002': '#bf3922', // Vermilion\n 'RAL 2003': '#f67829', // Pastel orange\n 'RAL 2004': '#e25304', // Pure orange\n 'RAL 2005': '#ff4d08', // Luminous orange\n 'RAL 2007': '#ffb200', // Luminous bright orange\n 'RAL 2008': '#ec6b22', // Bright red orange\n 'RAL 2009': '#de5308', // Traffic orange\n 'RAL 2010': '#d05d29', // Signal orange\n 'RAL 2011': '#e26e0f', // Deep orange\n 'RAL 2012': '#d5654e', // Salmon orange\n 'RAL 2013': '#923e25', // Pearl orange\n 'RAL 2017': '#fc5500', // RAL orange\n // --- Reds (RAL 3000-RAL 3033; 25 entries) ---\n 'RAL 3000': '#a72920', // Flame red\n 'RAL 3001': '#9b2423', // Signal red\n 'RAL 3002': '#9b2321', // Carmine red\n 'RAL 3003': '#861a22', // Ruby red\n 'RAL 3004': '#6b1c23', // Purple red\n 'RAL 3005': '#59191f', // Wine red\n 'RAL 3007': '#3e2022', // Black red\n 'RAL 3009': '#6d342d', // Oxide red\n 'RAL 3011': '#782423', // Brown red\n 'RAL 3012': '#c5856d', // Beige red\n 'RAL 3013': '#972e25', // Tomato red\n 'RAL 3014': '#cb7375', // Antique pink\n 'RAL 3015': '#d8a0a6', // Light pink\n 'RAL 3016': '#a63d30', // Coral red\n 'RAL 3017': '#ca555d', // Rose\n 'RAL 3018': '#c63f4a', // Strawberry red\n 'RAL 3020': '#bb1f11', // Traffic red\n 'RAL 3022': '#cf6955', // Salmon pink\n 'RAL 3024': '#ff2d21', // Luminous red\n 'RAL 3026': '#ff2a1c', // Luminous bright red\n 'RAL 3027': '#ab273c', // Raspberry red\n 'RAL 3028': '#cc2c24', // Pure red\n 'RAL 3031': '#a63437', // Orient red\n 'RAL 3032': '#701d24', // Pearl ruby red\n 'RAL 3033': '#a53a2e', // Pearl pink\n // --- Violets (RAL 4001-RAL 4012; 12 entries) ---\n 'RAL 4001': '#816183', // Red lilac\n 'RAL 4002': '#8d3c4b', // Red violet\n 'RAL 4003': '#c4618c', // Heather violet\n 'RAL 4004': '#651e38', // Claret violet\n 'RAL 4005': '#76689a', // Blue lilac\n 'RAL 4006': '#903373', // Traffic purple\n 'RAL 4007': '#47243c', // Purple violet\n 'RAL 4008': '#844c82', // Signal violet\n 'RAL 4009': '#9d8692', // Pastel violet\n 'RAL 4010': '#bb4077', // Telemagenta\n 'RAL 4011': '#6e6387', // Pearl violet\n 'RAL 4012': '#6a6b7f', // Pearl blackberry\n // --- Blues (RAL 5000-RAL 5026; 25 entries) ---\n 'RAL 5000': '#304f6e', // Violet blue\n 'RAL 5001': '#0e4c64', // Green blue\n 'RAL 5002': '#00387a', // Ultramarine blue\n 'RAL 5003': '#1f3855', // Sapphire blue\n 'RAL 5004': '#191e28', // Black blue\n 'RAL 5005': '#005387', // Signal blue\n 'RAL 5007': '#376b8c', // Brillant blue\n 'RAL 5008': '#2b3a44', // Grey blue\n 'RAL 5009': '#215f78', // Azure blue\n 'RAL 5010': '#004f7c', // Gentian blue\n 'RAL 5011': '#1a2b3c', // Steel blue\n 'RAL 5012': '#0089b6', // Light blue\n 'RAL 5013': '#193153', // Cobalt blue\n 'RAL 5014': '#637d96', // Pigeon blue\n 'RAL 5015': '#007caf', // Sky blue\n 'RAL 5017': '#005b8c', // Traffic blue\n 'RAL 5018': '#048b8c', // Turquoise blue\n 'RAL 5019': '#005e83', // Capri blue\n 'RAL 5020': '#00414b', // Ocean blue\n 'RAL 5021': '#007577', // Water blue\n 'RAL 5022': '#222d5a', // Night blue\n 'RAL 5023': '#41698c', // Distant blue\n 'RAL 5024': '#6093ac', // Pastel blue\n 'RAL 5025': '#20697c', // Pearl gentian blue\n 'RAL 5026': '#0f3052', // Pearl night blue\n // --- Greens (RAL 6000-RAL 6039; 37 entries) ---\n 'RAL 6000': '#3c7460', // Patina green\n 'RAL 6001': '#366735', // Emerald green\n 'RAL 6002': '#325928', // Leaf green\n 'RAL 6003': '#50533c', // Olive green\n 'RAL 6004': '#024442', // Blue green\n 'RAL 6005': '#114232', // Moss green\n 'RAL 6006': '#3c392e', // Grey olive\n 'RAL 6007': '#2c3222', // Bottle green\n 'RAL 6008': '#36342a', // Brown green\n 'RAL 6009': '#27352a', // Fir green\n 'RAL 6010': '#4d6f39', // Grass green\n 'RAL 6011': '#6b7c59', // Reseda green\n 'RAL 6012': '#2f3d3a', // Black green\n 'RAL 6013': '#7c765a', // Reed green\n 'RAL 6014': '#474135', // Yellow olive\n 'RAL 6015': '#3d3d36', // Black olive\n 'RAL 6016': '#00694c', // Turquoise green\n 'RAL 6017': '#587f40', // May green\n 'RAL 6018': '#60993b', // Yellow green\n 'RAL 6019': '#b9ceac', // Pastel green\n 'RAL 6020': '#37422f', // Chrome green\n 'RAL 6021': '#8a9977', // Pale green\n 'RAL 6022': '#3a3327', // Olive drab\n 'RAL 6024': '#008351', // Traffic green\n 'RAL 6025': '#5e6e3b', // Fern green\n 'RAL 6026': '#005f4e', // Opal green\n 'RAL 6027': '#7ebab5', // Light green\n 'RAL 6028': '#315442', // Pine green\n 'RAL 6029': '#006f3d', // Mint green\n 'RAL 6032': '#237f52', // Signal green\n 'RAL 6033': '#45877f', // Mint turquoise\n 'RAL 6034': '#7aadac', // Pastel turquoise\n 'RAL 6035': '#194d25', // Pearl green\n 'RAL 6036': '#04574b', // Pearl opal green\n 'RAL 6037': '#008b29', // Pure green\n 'RAL 6038': '#00b51b', // Luminous green\n 'RAL 6039': '#b3c43e', // Fibrous green\n // --- Greys (RAL 7000-RAL 7048; 38 entries) ---\n 'RAL 7000': '#7a888e', // Squirrel grey\n 'RAL 7001': '#8c979c', // Silver grey\n 'RAL 7002': '#817863', // Olive grey\n 'RAL 7003': '#797669', // Moss grey\n 'RAL 7004': '#9a9b9b', // Signal grey\n 'RAL 7005': '#6b6e6b', // Mouse grey\n 'RAL 7006': '#766a5e', // Beige grey\n 'RAL 7008': '#745f3d', // Khaki grey\n 'RAL 7009': '#5d6058', // Green grey\n 'RAL 7010': '#585c56', // Tarpaulin grey\n 'RAL 7011': '#52595d', // Iron grey\n 'RAL 7012': '#575d5e', // Basalt grey\n 'RAL 7013': '#575044', // Brown grey\n 'RAL 7015': '#4f5358', // Slate grey\n 'RAL 7016': '#383e42', // Anthracite grey\n 'RAL 7021': '#2f3234', // Black grey\n 'RAL 7022': '#4c4a44', // Umbra grey\n 'RAL 7023': '#808076', // Concrete grey\n 'RAL 7024': '#45494e', // Graphite grey\n 'RAL 7026': '#374345', // Granite grey\n 'RAL 7030': '#928e85', // Stone grey\n 'RAL 7031': '#5b686d', // Blue grey\n 'RAL 7032': '#b5b0a1', // Pebble grey\n 'RAL 7033': '#7f8274', // Cement grey\n 'RAL 7034': '#92886f', // Yellow grey\n 'RAL 7035': '#c5c7c4', // Light grey\n 'RAL 7036': '#979392', // Platinum grey\n 'RAL 7037': '#7a7b7a', // Dusty grey\n 'RAL 7038': '#b0b0a9', // Agate grey\n 'RAL 7039': '#6b665e', // Quartz grey\n 'RAL 7040': '#989ea1', // Window grey\n 'RAL 7042': '#8e9291', // Traffic grey A\n 'RAL 7043': '#4f5250', // Traffic grey B\n 'RAL 7044': '#b7b3a8', // Silk grey\n 'RAL 7045': '#8d9295', // Telegrey 1\n 'RAL 7046': '#7e868a', // Telegrey 2\n 'RAL 7047': '#c8c8c7', // Telegrey 4\n 'RAL 7048': '#817b73', // Pearl mouse grey\n // --- Browns (RAL 8000-RAL 8029; 20 entries) ---\n 'RAL 8000': '#89693f', // Green brown\n 'RAL 8001': '#9d622b', // Ochre brown\n 'RAL 8002': '#794d3e', // Signal brown\n 'RAL 8003': '#7e4b27', // Clay brown\n 'RAL 8004': '#8d4931', // Copper brown\n 'RAL 8007': '#70462b', // Fawn brown\n 'RAL 8008': '#724a25', // Olive brown\n 'RAL 8011': '#5a3827', // Nut brown\n 'RAL 8012': '#66332b', // Red brown\n 'RAL 8014': '#4a3526', // Sepia brown\n 'RAL 8015': '#5e2f26', // Chestnut brown\n 'RAL 8016': '#4c2b20', // Mahogany brown\n 'RAL 8017': '#442f29', // Chocolate brown\n 'RAL 8019': '#3d3635', // Grey brown\n 'RAL 8022': '#1a1719', // Black brown\n 'RAL 8023': '#a45729', // Orange brown\n 'RAL 8024': '#795038', // Beige brown\n 'RAL 8025': '#755847', // Pale brown\n 'RAL 8028': '#513a2a', // Terra brown\n 'RAL 8029': '#7f4031', // Pearl copper\n // --- Whites and Blacks (RAL 9001-RAL 9023; 15 entries) ---\n 'RAL 9001': '#e9e0d2', // Cream\n 'RAL 9002': '#d6d5cb', // Grey white\n 'RAL 9003': '#ecece7', // Signal white\n 'RAL 9004': '#2b2b2c', // Signal black\n 'RAL 9005': '#0e0e10', // Jet black\n 'RAL 9006': '#a1a1a0', // White aluminium\n 'RAL 9007': '#868581', // Grey aluminium\n 'RAL 9010': '#f1ede1', // Pure white\n 'RAL 9011': '#27292b', // Graphite black\n 'RAL 9012': '#f8f2e1', // Cleanroom white\n 'RAL 9016': '#f1f1ea', // Traffic white\n 'RAL 9017': '#29292a', // Traffic black\n 'RAL 9018': '#c8cbc4', // Papyrus white\n 'RAL 9022': '#858583', // Pearl light grey\n 'RAL 9023': '#787b7a', // Pearl dark grey\n} as const;\n\nexport type RalColorName = keyof typeof ralColors;\n\n/**\n * RAL Classic as a `Palette<RalColorName>`. 216 entries spanning\n * RAL 1000-RAL 9023 across ten color groups. Keys are RAL codes\n * ('RAL 1000', 'RAL 9023'); the English color name is in source-side\n * comments for skimmers. Default metric is `'deltaE2000'`.\n *\n * @example\n * identify('#27292b', { palette: ral }); // 'RAL 9011' (Graphite black)\n * resolve('RAL 5002', { palette: ral }); // '#00387a' (Ultramarine blue)\n * ral.colors['RAL 1003']; // '#f9a900' (Signal yellow)\n */\nexport const ral = {\n name: 'ral',\n colors: ralColors,\n normalize: standardNormalize,\n defaultMetric: 'deltaE2000',\n} as const satisfies Palette<RalColorName>;\n"]}