@yugu-ui/shared 0.0.0-stage → 0.1.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.
Files changed (66) hide show
  1. package/bin.ts +4 -0
  2. package/dist/bin.d.ts +0 -0
  3. package/dist/hooks/index.d.ts +8 -0
  4. package/dist/hooks/use-boolean.d.ts +12 -0
  5. package/dist/hooks/use-context.d.ts +15 -0
  6. package/dist/hooks/use-count-down.d.ts +12 -0
  7. package/dist/hooks/use-loading.d.ts +10 -0
  8. package/dist/hooks/use-request.d.ts +23 -0
  9. package/dist/hooks/use-svg-icon-render.d.ts +19 -0
  10. package/dist/hooks/use-table.d.ts +63 -0
  11. package/dist/hooks.d.ts +2 -0
  12. package/dist/hooks.js +205 -0
  13. package/dist/index.d.ts +2 -0
  14. package/dist/index.js +3110 -0
  15. package/dist/nanoid-CQE6QAZJ.js +2 -0
  16. package/dist/request/constant.d.ts +6 -0
  17. package/dist/request/index.d.ts +22 -0
  18. package/dist/request/options.d.ts +6 -0
  19. package/dist/request/shared.d.ts +17 -0
  20. package/dist/request/type.d.ts +94 -0
  21. package/dist/request.d.ts +2 -0
  22. package/dist/request.js +182 -0
  23. package/dist/scripts/src/commands/changelog.d.ts +2 -0
  24. package/dist/scripts/src/commands/cleanup.d.ts +1 -0
  25. package/dist/scripts/src/commands/git-commit.d.ts +9 -0
  26. package/dist/scripts/src/commands/index.d.ts +6 -0
  27. package/dist/scripts/src/commands/release.d.ts +1 -0
  28. package/dist/scripts/src/commands/router.d.ts +2 -0
  29. package/dist/scripts/src/commands/update-pkg.d.ts +1 -0
  30. package/dist/scripts/src/config/index.d.ts +2 -0
  31. package/dist/scripts/src/index.d.ts +1 -0
  32. package/dist/scripts/src/locales/index.d.ts +25 -0
  33. package/dist/scripts/src/shared/index.d.ts +2 -0
  34. package/dist/scripts/src/types/index.d.ts +30 -0
  35. package/dist/uno-preset/index.d.ts +4 -0
  36. package/dist/uno-preset.d.ts +6 -0
  37. package/dist/uno-preset.js +49 -0
  38. package/dist/utils/color/constant/index.d.ts +2 -0
  39. package/dist/utils/color/constant/name.d.ts +8 -0
  40. package/dist/utils/color/constant/palette.d.ts +2 -0
  41. package/dist/utils/color/index.d.ts +5 -0
  42. package/dist/utils/color/palette/antd.d.ts +18 -0
  43. package/dist/utils/color/palette/index.d.ts +17 -0
  44. package/dist/utils/color/palette/recommend.d.ts +20 -0
  45. package/dist/utils/color/shared/colord.d.ts +38 -0
  46. package/dist/utils/color/shared/index.d.ts +2 -0
  47. package/dist/utils/color/shared/name.d.ts +6 -0
  48. package/dist/utils/color/types/index.d.ts +52 -0
  49. package/dist/utils/index.d.ts +4 -0
  50. package/dist/utils/klona.d.ts +2 -0
  51. package/dist/utils/nanoid.d.ts +1 -0
  52. package/dist/utils/storage.d.ts +28 -0
  53. package/package.json +84 -4
  54. package/scripts/src/commands/changelog.ts +10 -0
  55. package/scripts/src/commands/cleanup.ts +5 -0
  56. package/scripts/src/commands/git-commit.ts +107 -0
  57. package/scripts/src/commands/index.ts +6 -0
  58. package/scripts/src/commands/release.ts +12 -0
  59. package/scripts/src/commands/router.ts +90 -0
  60. package/scripts/src/commands/update-pkg.ts +5 -0
  61. package/scripts/src/config/index.ts +39 -0
  62. package/scripts/src/index.ts +110 -0
  63. package/scripts/src/locales/index.ts +84 -0
  64. package/scripts/src/shared/index.ts +7 -0
  65. package/scripts/src/types/index.ts +31 -0
  66. package/README.md +0 -3
package/dist/index.js ADDED
@@ -0,0 +1,3110 @@
1
+ import { t as nanoid } from "./nanoid-CQE6QAZJ.js";
2
+ import localforage from "localforage";
3
+ import { klona as jsonClone } from "klona/json";
4
+ import { colord, extend } from "colord";
5
+ import namesPlugin from "colord/plugins/names";
6
+ import mixPlugin from "colord/plugins/mix";
7
+ import labPlugin from "colord/plugins/lab";
8
+ //#region src/utils/storage.ts
9
+ function createStorage(type, storagePrefix) {
10
+ const stg = type === "session" ? window.sessionStorage : window.localStorage;
11
+ return {
12
+ /**
13
+ * Set session
14
+ *
15
+ * @param key Session key
16
+ * @param value Session value
17
+ */
18
+ set(key, value) {
19
+ const json = JSON.stringify(value);
20
+ stg.setItem(`${storagePrefix}${key}`, json);
21
+ },
22
+ /**
23
+ * Get session
24
+ *
25
+ * @param key Session key
26
+ */
27
+ get(key) {
28
+ const json = stg.getItem(`${storagePrefix}${key}`);
29
+ if (json) {
30
+ let storageData = null;
31
+ try {
32
+ storageData = JSON.parse(json);
33
+ } catch {}
34
+ if (storageData !== null) return storageData;
35
+ }
36
+ stg.removeItem(`${storagePrefix}${key}`);
37
+ return null;
38
+ },
39
+ remove(key) {
40
+ stg.removeItem(`${storagePrefix}${key}`);
41
+ },
42
+ clear() {
43
+ stg.clear();
44
+ }
45
+ };
46
+ }
47
+ function createLocalforage(driver) {
48
+ const driverMap = {
49
+ local: localforage.LOCALSTORAGE,
50
+ indexedDB: localforage.INDEXEDDB,
51
+ webSQL: localforage.WEBSQL
52
+ };
53
+ localforage.config({ driver: driverMap[driver] });
54
+ return localforage;
55
+ }
56
+ //#endregion
57
+ //#region src/utils/color/constant/name.ts
58
+ var colorNames = [
59
+ ["#000000", "Black"],
60
+ ["#000080", "Navy Blue"],
61
+ ["#0000c8", "Dark Blue"],
62
+ ["#0000ff", "Blue"],
63
+ ["#000741", "Stratos"],
64
+ ["#001b1c", "Swamp"],
65
+ ["#002387", "Resolution Blue"],
66
+ ["#002900", "Deep Fir"],
67
+ ["#002e20", "Burnham"],
68
+ ["#002fa7", "International Klein Blue"],
69
+ ["#003153", "Prussian Blue"],
70
+ ["#003366", "Midnight Blue"],
71
+ ["#003399", "Smalt"],
72
+ ["#003532", "Deep Teal"],
73
+ ["#003e40", "Cyprus"],
74
+ ["#004620", "Kaitoke Green"],
75
+ ["#0047ab", "Cobalt"],
76
+ ["#004816", "Crusoe"],
77
+ ["#004950", "Sherpa Blue"],
78
+ ["#0056a7", "Endeavour"],
79
+ ["#00581a", "Camarone"],
80
+ ["#0066cc", "Science Blue"],
81
+ ["#0066ff", "Blue Ribbon"],
82
+ ["#00755e", "Tropical Rain Forest"],
83
+ ["#0076a3", "Allports"],
84
+ ["#007ba7", "Deep Cerulean"],
85
+ ["#007ec7", "Lochmara"],
86
+ ["#007fff", "Azure Radiance"],
87
+ ["#008080", "Teal"],
88
+ ["#0095b6", "Bondi Blue"],
89
+ ["#009dc4", "Pacific Blue"],
90
+ ["#00a693", "Persian Green"],
91
+ ["#00a86b", "Jade"],
92
+ ["#00cc99", "Caribbean Green"],
93
+ ["#00cccc", "Robin's Egg Blue"],
94
+ ["#00ff00", "Green"],
95
+ ["#00ff7f", "Spring Green"],
96
+ ["#00ffff", "Cyan Aqua"],
97
+ ["#010d1a", "Blue Charcoal"],
98
+ ["#011635", "Midnight"],
99
+ ["#011d13", "Holly"],
100
+ ["#012731", "Daintree"],
101
+ ["#01361c", "Cardin Green"],
102
+ ["#01371a", "County Green"],
103
+ ["#013e62", "Astronaut Blue"],
104
+ ["#013f6a", "Regal Blue"],
105
+ ["#014b43", "Aqua Deep"],
106
+ ["#015e85", "Orient"],
107
+ ["#016162", "Blue Stone"],
108
+ ["#016d39", "Fun Green"],
109
+ ["#01796f", "Pine Green"],
110
+ ["#017987", "Blue Lagoon"],
111
+ ["#01826b", "Deep Sea"],
112
+ ["#01a368", "Green Haze"],
113
+ ["#022d15", "English Holly"],
114
+ ["#02402c", "Sherwood Green"],
115
+ ["#02478e", "Congress Blue"],
116
+ ["#024e46", "Evening Sea"],
117
+ ["#026395", "Bahama Blue"],
118
+ ["#02866f", "Observatory"],
119
+ ["#02a4d3", "Cerulean"],
120
+ ["#03163c", "Tangaroa"],
121
+ ["#032b52", "Green Vogue"],
122
+ ["#036a6e", "Mosque"],
123
+ ["#041004", "Midnight Moss"],
124
+ ["#041322", "Black Pearl"],
125
+ ["#042e4c", "Blue Whale"],
126
+ ["#044022", "Zuccini"],
127
+ ["#044259", "Teal Blue"],
128
+ ["#051040", "Deep Cove"],
129
+ ["#051657", "Gulf Blue"],
130
+ ["#055989", "Venice Blue"],
131
+ ["#056f57", "Watercourse"],
132
+ ["#062a78", "Catalina Blue"],
133
+ ["#063537", "Tiber"],
134
+ ["#069b81", "Gossamer"],
135
+ ["#06a189", "Niagara"],
136
+ ["#073a50", "Tarawera"],
137
+ ["#080110", "Jaguar"],
138
+ ["#081910", "Black Bean"],
139
+ ["#082567", "Deep Sapphire"],
140
+ ["#088370", "Elf Green"],
141
+ ["#08e8de", "Bright Turquoise"],
142
+ ["#092256", "Downriver"],
143
+ ["#09230f", "Palm Green"],
144
+ ["#09255d", "Madison"],
145
+ ["#093624", "Bottle Green"],
146
+ ["#095859", "Deep Sea Green"],
147
+ ["#097f4b", "Salem"],
148
+ ["#0a001c", "Black Russian"],
149
+ ["#0a480d", "Dark Fern"],
150
+ ["#0a6906", "Japanese Laurel"],
151
+ ["#0a6f75", "Atoll"],
152
+ ["#0b0b0b", "Cod Gray"],
153
+ ["#0b0f08", "Marshland"],
154
+ ["#0b1107", "Gordons Green"],
155
+ ["#0b1304", "Black Forest"],
156
+ ["#0b6207", "San Felix"],
157
+ ["#0bda51", "Malachite"],
158
+ ["#0c0b1d", "Ebony"],
159
+ ["#0c0d0f", "Woodsmoke"],
160
+ ["#0c1911", "Racing Green"],
161
+ ["#0c7a79", "Surfie Green"],
162
+ ["#0c8990", "Blue Chill"],
163
+ ["#0d0332", "Black Rock"],
164
+ ["#0d1117", "Bunker"],
165
+ ["#0d1c19", "Aztec"],
166
+ ["#0d2e1c", "Bush"],
167
+ ["#0e0e18", "Cinder"],
168
+ ["#0e2a30", "Firefly"],
169
+ ["#0f2d9e", "Torea Bay"],
170
+ ["#10121d", "Vulcan"],
171
+ ["#101405", "Green Waterloo"],
172
+ ["#105852", "Eden"],
173
+ ["#110c6c", "Arapawa"],
174
+ ["#120a8f", "Ultramarine"],
175
+ ["#123447", "Elephant"],
176
+ ["#126b40", "Jewel"],
177
+ ["#130000", "Diesel"],
178
+ ["#130a06", "Asphalt"],
179
+ ["#13264d", "Blue Zodiac"],
180
+ ["#134f19", "Parsley"],
181
+ ["#140600", "Nero"],
182
+ ["#1450aa", "Tory Blue"],
183
+ ["#151f4c", "Bunting"],
184
+ ["#1560bd", "Denim"],
185
+ ["#15736b", "Genoa"],
186
+ ["#161928", "Mirage"],
187
+ ["#161d10", "Hunter Green"],
188
+ ["#162a40", "Big Stone"],
189
+ ["#163222", "Celtic"],
190
+ ["#16322c", "Timber Green"],
191
+ ["#163531", "Gable Green"],
192
+ ["#171f04", "Pine Tree"],
193
+ ["#175579", "Chathams Blue"],
194
+ ["#182d09", "Deep Forest Green"],
195
+ ["#18587a", "Blumine"],
196
+ ["#19330e", "Palm Leaf"],
197
+ ["#193751", "Nile Blue"],
198
+ ["#1959a8", "Fun Blue"],
199
+ ["#1a1a68", "Lucky Point"],
200
+ ["#1ab385", "Mountain Meadow"],
201
+ ["#1b0245", "Tolopea"],
202
+ ["#1b1035", "Haiti"],
203
+ ["#1b127b", "Deep Koamaru"],
204
+ ["#1b1404", "Acadia"],
205
+ ["#1b2f11", "Seaweed"],
206
+ ["#1b3162", "Biscay"],
207
+ ["#1b659d", "Matisse"],
208
+ ["#1c1208", "Crowshead"],
209
+ ["#1c1e13", "Rangoon Green"],
210
+ ["#1c39bb", "Persian Blue"],
211
+ ["#1c402e", "Everglade"],
212
+ ["#1c7c7d", "Elm"],
213
+ ["#1d6142", "Green Pea"],
214
+ ["#1e0f04", "Creole"],
215
+ ["#1e1609", "Karaka"],
216
+ ["#1e1708", "El Paso"],
217
+ ["#1e385b", "Cello"],
218
+ ["#1e433c", "Te Papa Green"],
219
+ ["#1e90ff", "Dodger Blue"],
220
+ ["#1e9ab0", "Eastern Blue"],
221
+ ["#1f120f", "Night Rider"],
222
+ ["#1fc2c2", "Java"],
223
+ ["#20208d", "Jacksons Purple"],
224
+ ["#202e54", "Cloud Burst"],
225
+ ["#204852", "Blue Dianne"],
226
+ ["#211a0e", "Eternity"],
227
+ ["#220878", "Deep Blue"],
228
+ ["#228b22", "Forest Green"],
229
+ ["#233418", "Mallard"],
230
+ ["#240a40", "Violet"],
231
+ ["#240c02", "Kilamanjaro"],
232
+ ["#242a1d", "Log Cabin"],
233
+ ["#242e16", "Black Olive"],
234
+ ["#24500f", "Green House"],
235
+ ["#251607", "Graphite"],
236
+ ["#251706", "Cannon Black"],
237
+ ["#251f4f", "Port Gore"],
238
+ ["#25272c", "Shark"],
239
+ ["#25311c", "Green Kelp"],
240
+ ["#2596d1", "Curious Blue"],
241
+ ["#260368", "Paua"],
242
+ ["#26056a", "Paris M"],
243
+ ["#261105", "Wood Bark"],
244
+ ["#261414", "Gondola"],
245
+ ["#262335", "Steel Gray"],
246
+ ["#26283b", "Ebony Clay"],
247
+ ["#273a81", "Bay Of Many"],
248
+ ["#27504b", "Plantation"],
249
+ ["#278a5b", "Eucalyptus"],
250
+ ["#281e15", "Oil"],
251
+ ["#283a77", "Astronaut"],
252
+ ["#286acd", "Mariner"],
253
+ ["#290c5e", "Violent Violet"],
254
+ ["#292130", "Bastille"],
255
+ ["#292319", "Zeus"],
256
+ ["#292937", "Charade"],
257
+ ["#297b9a", "Jelly Bean"],
258
+ ["#29ab87", "Jungle Green"],
259
+ ["#2a0359", "Cherry Pie"],
260
+ ["#2a140e", "Coffee Bean"],
261
+ ["#2a2630", "Baltic Sea"],
262
+ ["#2a380b", "Turtle Green"],
263
+ ["#2a52be", "Cerulean Blue"],
264
+ ["#2b0202", "Sepia Black"],
265
+ ["#2b194f", "Valhalla"],
266
+ ["#2b3228", "Heavy Metal"],
267
+ ["#2c0e8c", "Blue Gem"],
268
+ ["#2c1632", "Revolver"],
269
+ ["#2c2133", "Bleached Cedar"],
270
+ ["#2c8c84", "Lochinvar"],
271
+ ["#2d2510", "Mikado"],
272
+ ["#2d383a", "Outer Space"],
273
+ ["#2d569b", "St Tropaz"],
274
+ ["#2e0329", "Jacaranda"],
275
+ ["#2e1905", "Jacko Bean"],
276
+ ["#2e3222", "Rangitoto"],
277
+ ["#2e3f62", "Rhino"],
278
+ ["#2e8b57", "Sea Green"],
279
+ ["#2ebfd4", "Scooter"],
280
+ ["#2f270e", "Onion"],
281
+ ["#2f3cb3", "Governor Bay"],
282
+ ["#2f519e", "Sapphire"],
283
+ ["#2f5a57", "Spectra"],
284
+ ["#2f6168", "Casal"],
285
+ ["#300529", "Melanzane"],
286
+ ["#301f1e", "Cocoa Brown"],
287
+ ["#302a0f", "Woodrush"],
288
+ ["#304b6a", "San Juan"],
289
+ ["#30d5c8", "Turquoise"],
290
+ ["#311c17", "Eclipse"],
291
+ ["#314459", "Pickled Bluewood"],
292
+ ["#315ba1", "Azure"],
293
+ ["#31728d", "Calypso"],
294
+ ["#317d82", "Paradiso"],
295
+ ["#32127a", "Persian Indigo"],
296
+ ["#32293a", "Blackcurrant"],
297
+ ["#323232", "Mine Shaft"],
298
+ ["#325d52", "Stromboli"],
299
+ ["#327c14", "Bilbao"],
300
+ ["#327da0", "Astral"],
301
+ ["#33036b", "Christalle"],
302
+ ["#33292f", "Thunder"],
303
+ ["#33cc99", "Shamrock"],
304
+ ["#341515", "Tamarind"],
305
+ ["#350036", "Mardi Gras"],
306
+ ["#350e42", "Valentino"],
307
+ ["#350e57", "Jagger"],
308
+ ["#353542", "Tuna"],
309
+ ["#354e8c", "Chambray"],
310
+ ["#363050", "Martinique"],
311
+ ["#363534", "Tuatara"],
312
+ ["#363c0d", "Waiouru"],
313
+ ["#36747d", "Ming"],
314
+ ["#368716", "La Palma"],
315
+ ["#370202", "Chocolate"],
316
+ ["#371d09", "Clinker"],
317
+ ["#37290e", "Brown Tumbleweed"],
318
+ ["#373021", "Birch"],
319
+ ["#377475", "Oracle"],
320
+ ["#380474", "Blue Diamond"],
321
+ ["#381a51", "Grape"],
322
+ ["#383533", "Dune"],
323
+ ["#384555", "Oxford Blue"],
324
+ ["#384910", "Clover"],
325
+ ["#394851", "Limed Spruce"],
326
+ ["#396413", "Dell"],
327
+ ["#3a0020", "Toledo"],
328
+ ["#3a2010", "Sambuca"],
329
+ ["#3a2a6a", "Jacarta"],
330
+ ["#3a686c", "William"],
331
+ ["#3a6a47", "Killarney"],
332
+ ["#3ab09e", "Keppel"],
333
+ ["#3b000b", "Temptress"],
334
+ ["#3b0910", "Aubergine"],
335
+ ["#3b1f1f", "Jon"],
336
+ ["#3b2820", "Treehouse"],
337
+ ["#3b7a57", "Amazon"],
338
+ ["#3b91b4", "Boston Blue"],
339
+ ["#3c0878", "Windsor"],
340
+ ["#3c1206", "Rebel"],
341
+ ["#3c1f76", "Meteorite"],
342
+ ["#3c2005", "Dark Ebony"],
343
+ ["#3c3910", "Camouflage"],
344
+ ["#3c4151", "Bright Gray"],
345
+ ["#3c4443", "Cape Cod"],
346
+ ["#3c493a", "Lunar Green"],
347
+ ["#3d0c02", "Bean "],
348
+ ["#3d2b1f", "Bistre"],
349
+ ["#3d7d52", "Goblin"],
350
+ ["#3e0480", "Kingfisher Daisy"],
351
+ ["#3e1c14", "Cedar"],
352
+ ["#3e2b23", "English Walnut"],
353
+ ["#3e2c1c", "Black Marlin"],
354
+ ["#3e3a44", "Ship Gray"],
355
+ ["#3eabbf", "Pelorous"],
356
+ ["#3f2109", "Bronze"],
357
+ ["#3f2500", "Cola"],
358
+ ["#3f3002", "Madras"],
359
+ ["#3f307f", "Minsk"],
360
+ ["#3f4c3a", "Cabbage Pont"],
361
+ ["#3f583b", "Tom Thumb"],
362
+ ["#3f5d53", "Mineral Green"],
363
+ ["#3fc1aa", "Puerto Rico"],
364
+ ["#3fff00", "Harlequin"],
365
+ ["#401801", "Brown Pod"],
366
+ ["#40291d", "Cork"],
367
+ ["#403b38", "Masala"],
368
+ ["#403d19", "Thatch Green"],
369
+ ["#405169", "Fiord"],
370
+ ["#40826d", "Viridian"],
371
+ ["#40a860", "Chateau Green"],
372
+ ["#410056", "Ripe Plum"],
373
+ ["#411f10", "Paco"],
374
+ ["#412010", "Deep Oak"],
375
+ ["#413c37", "Merlin"],
376
+ ["#414257", "Gun Powder"],
377
+ ["#414c7d", "East Bay"],
378
+ ["#4169e1", "Royal Blue"],
379
+ ["#41aa78", "Ocean Green"],
380
+ ["#420303", "Burnt Maroon"],
381
+ ["#423921", "Lisbon Brown"],
382
+ ["#427977", "Faded Jade"],
383
+ ["#431560", "Scarlet Gum"],
384
+ ["#433120", "Iroko"],
385
+ ["#433e37", "Armadillo"],
386
+ ["#434c59", "River Bed"],
387
+ ["#436a0d", "Green Leaf"],
388
+ ["#44012d", "Barossa"],
389
+ ["#441d00", "Morocco Brown"],
390
+ ["#444954", "Mako"],
391
+ ["#454936", "Kelp"],
392
+ ["#456cac", "San Marino"],
393
+ ["#45b1e8", "Picton Blue"],
394
+ ["#460b41", "Loulou"],
395
+ ["#462425", "Crater Brown"],
396
+ ["#465945", "Gray Asparagus"],
397
+ ["#4682b4", "Steel Blue"],
398
+ ["#480404", "Rustic Red"],
399
+ ["#480607", "Bulgarian Rose"],
400
+ ["#480656", "Clairvoyant"],
401
+ ["#481c1c", "Cocoa Bean"],
402
+ ["#483131", "Woody Brown"],
403
+ ["#483c32", "Taupe"],
404
+ ["#49170c", "Van Cleef"],
405
+ ["#492615", "Brown Derby"],
406
+ ["#49371b", "Metallic Bronze"],
407
+ ["#495400", "Verdun Green"],
408
+ ["#496679", "Blue Bayoux"],
409
+ ["#497183", "Bismark"],
410
+ ["#4a2a04", "Bracken"],
411
+ ["#4a3004", "Deep Bronze"],
412
+ ["#4a3c30", "Mondo"],
413
+ ["#4a4244", "Tundora"],
414
+ ["#4a444b", "Gravel"],
415
+ ["#4a4e5a", "Trout"],
416
+ ["#4b0082", "Pigment Indigo"],
417
+ ["#4b5d52", "Nandor"],
418
+ ["#4c3024", "Saddle"],
419
+ ["#4c4f56", "Abbey"],
420
+ ["#4d0135", "Blackberry"],
421
+ ["#4d0a18", "Cab Sav"],
422
+ ["#4d1e01", "Indian Tan"],
423
+ ["#4d282d", "Cowboy"],
424
+ ["#4d282e", "Livid Brown"],
425
+ ["#4d3833", "Rock"],
426
+ ["#4d3d14", "Punga"],
427
+ ["#4d400f", "Bronzetone"],
428
+ ["#4d5328", "Woodland"],
429
+ ["#4e0606", "Mahogany"],
430
+ ["#4e2a5a", "Bossanova"],
431
+ ["#4e3b41", "Matterhorn"],
432
+ ["#4e420c", "Bronze Olive"],
433
+ ["#4e4562", "Mulled Wine"],
434
+ ["#4e6649", "Axolotl"],
435
+ ["#4e7f9e", "Wedgewood"],
436
+ ["#4eabd1", "Shakespeare"],
437
+ ["#4f1c70", "Honey Flower"],
438
+ ["#4f2398", "Daisy Bush"],
439
+ ["#4f69c6", "Indigo"],
440
+ ["#4f7942", "Fern Green"],
441
+ ["#4f9d5d", "Fruit Salad"],
442
+ ["#4fa83d", "Apple"],
443
+ ["#504351", "Mortar"],
444
+ ["#507096", "Kashmir Blue"],
445
+ ["#507672", "Cutty Sark"],
446
+ ["#50c878", "Emerald"],
447
+ ["#514649", "Emperor"],
448
+ ["#516e3d", "Chalet Green"],
449
+ ["#517c66", "Como"],
450
+ ["#51808f", "Smalt Blue"],
451
+ ["#52001f", "Castro"],
452
+ ["#520c17", "Maroon Oak"],
453
+ ["#523c94", "Gigas"],
454
+ ["#533455", "Voodoo"],
455
+ ["#534491", "Victoria"],
456
+ ["#53824b", "Hippie Green"],
457
+ ["#541012", "Heath"],
458
+ ["#544333", "Judge Gray"],
459
+ ["#54534d", "Fuscous Gray"],
460
+ ["#549019", "Vida Loca"],
461
+ ["#55280c", "Cioccolato"],
462
+ ["#555b10", "Saratoga"],
463
+ ["#556d56", "Finlandia"],
464
+ ["#5590d9", "Havelock Blue"],
465
+ ["#56b4be", "Fountain Blue"],
466
+ ["#578363", "Spring Leaves"],
467
+ ["#583401", "Saddle Brown"],
468
+ ["#585562", "Scarpa Flow"],
469
+ ["#587156", "Cactus"],
470
+ ["#589aaf", "Hippie Blue"],
471
+ ["#591d35", "Wine Berry"],
472
+ ["#592804", "Brown Bramble"],
473
+ ["#593737", "Congo Brown"],
474
+ ["#594433", "Millbrook"],
475
+ ["#5a6e9c", "Waikawa Gray"],
476
+ ["#5a87a0", "Horizon"],
477
+ ["#5b3013", "Jambalaya"],
478
+ ["#5c0120", "Bordeaux"],
479
+ ["#5c0536", "Mulberry Wood"],
480
+ ["#5c2e01", "Carnaby Tan"],
481
+ ["#5c5d75", "Comet"],
482
+ ["#5d1e0f", "Redwood"],
483
+ ["#5d4c51", "Don Juan"],
484
+ ["#5d5c58", "Chicago"],
485
+ ["#5d5e37", "Verdigris"],
486
+ ["#5d7747", "Dingley"],
487
+ ["#5da19f", "Breaker Bay"],
488
+ ["#5e483e", "Kabul"],
489
+ ["#5e5d3b", "Hemlock"],
490
+ ["#5f3d26", "Irish Coffee"],
491
+ ["#5f5f6e", "Mid Gray"],
492
+ ["#5f6672", "Shuttle Gray"],
493
+ ["#5fa777", "Aqua Forest"],
494
+ ["#5fb3ac", "Tradewind"],
495
+ ["#604913", "Horses Neck"],
496
+ ["#605b73", "Smoky"],
497
+ ["#606e68", "Corduroy"],
498
+ ["#6093d1", "Danube"],
499
+ ["#612718", "Espresso"],
500
+ ["#614051", "Eggplant"],
501
+ ["#615d30", "Costa Del Sol"],
502
+ ["#61845f", "Glade Green"],
503
+ ["#622f30", "Buccaneer"],
504
+ ["#623f2d", "Quincy"],
505
+ ["#624e9a", "Butterfly Bush"],
506
+ ["#625119", "West Coast"],
507
+ ["#626649", "Finch"],
508
+ ["#639a8f", "Patina"],
509
+ ["#63b76c", "Fern"],
510
+ ["#6456b7", "Blue Violet"],
511
+ ["#646077", "Dolphin"],
512
+ ["#646463", "Storm Dust"],
513
+ ["#646a54", "Siam"],
514
+ ["#646e75", "Nevada"],
515
+ ["#6495ed", "Cornflower Blue"],
516
+ ["#64ccdb", "Viking"],
517
+ ["#65000b", "Rosewood"],
518
+ ["#651a14", "Cherrywood"],
519
+ ["#652dc1", "Purple Heart"],
520
+ ["#657220", "Fern Frond"],
521
+ ["#65745d", "Willow Grove"],
522
+ ["#65869f", "Hoki"],
523
+ ["#660045", "Pompadour"],
524
+ ["#660099", "Purple"],
525
+ ["#66023c", "Tyrian Purple"],
526
+ ["#661010", "Dark Tan"],
527
+ ["#66b58f", "Silver Tree"],
528
+ ["#66ff00", "Bright Green"],
529
+ ["#66ff66", "Screamin Green"],
530
+ ["#67032d", "Black Rose"],
531
+ ["#675fa6", "Scampi"],
532
+ ["#676662", "Ironside Gray"],
533
+ ["#678975", "Viridian Green"],
534
+ ["#67a712", "Christi"],
535
+ ["#683600", "Nutmeg Wood Finish"],
536
+ ["#685558", "Zambezi"],
537
+ ["#685e6e", "Salt Box"],
538
+ ["#692545", "Tawny Port"],
539
+ ["#692d54", "Finn"],
540
+ ["#695f62", "Scorpion"],
541
+ ["#697e9a", "Lynch"],
542
+ ["#6a442e", "Spice"],
543
+ ["#6a5d1b", "Himalaya"],
544
+ ["#6a6051", "Soya Bean"],
545
+ ["#6b2a14", "Hairy Heath"],
546
+ ["#6b3fa0", "Royal Purple"],
547
+ ["#6b4e31", "Shingle Fawn"],
548
+ ["#6b5755", "Dorado"],
549
+ ["#6b8ba2", "Bermuda Gray"],
550
+ ["#6b8e23", "Olive Drab"],
551
+ ["#6c3082", "Eminence"],
552
+ ["#6cdae7", "Turquoise Blue"],
553
+ ["#6d0101", "Lonestar"],
554
+ ["#6d5e54", "Pine Cone"],
555
+ ["#6d6c6c", "Dove Gray"],
556
+ ["#6d9292", "Juniper"],
557
+ ["#6d92a1", "Gothic"],
558
+ ["#6e0902", "Red Oxide"],
559
+ ["#6e1d14", "Moccaccino"],
560
+ ["#6e4826", "Pickled Bean"],
561
+ ["#6e4b26", "Dallas"],
562
+ ["#6e6d57", "Kokoda"],
563
+ ["#6e7783", "Pale Sky"],
564
+ ["#6f440c", "Cafe Royale"],
565
+ ["#6f6a61", "Flint"],
566
+ ["#6f8e63", "Highland"],
567
+ ["#6f9d02", "Limeade"],
568
+ ["#6fd0c5", "Downy"],
569
+ ["#701c1c", "Persian Plum"],
570
+ ["#704214", "Sepia"],
571
+ ["#704a07", "Antique Bronze"],
572
+ ["#704f50", "Ferra"],
573
+ ["#706555", "Coffee"],
574
+ ["#708090", "Slate Gray"],
575
+ ["#711a00", "Cedar Wood Finish"],
576
+ ["#71291d", "Metallic Copper"],
577
+ ["#714693", "Affair"],
578
+ ["#714ab2", "Studio"],
579
+ ["#715d47", "Tobacco Brown"],
580
+ ["#716338", "Yellow Metal"],
581
+ ["#716b56", "Peat"],
582
+ ["#716e10", "Olivetone"],
583
+ ["#717486", "Storm Gray"],
584
+ ["#718080", "Sirocco"],
585
+ ["#71d9e2", "Aquamarine Blue"],
586
+ ["#72010f", "Venetian Red"],
587
+ ["#724a2f", "Old Copper"],
588
+ ["#726d4e", "Go Ben"],
589
+ ["#727b89", "Raven"],
590
+ ["#731e8f", "Seance"],
591
+ ["#734a12", "Raw Umber"],
592
+ ["#736c9f", "Kimberly"],
593
+ ["#736d58", "Crocodile"],
594
+ ["#737829", "Crete"],
595
+ ["#738678", "Xanadu"],
596
+ ["#74640d", "Spicy Mustard"],
597
+ ["#747d63", "Limed Ash"],
598
+ ["#747d83", "Rolling Stone"],
599
+ ["#748881", "Blue Smoke"],
600
+ ["#749378", "Laurel"],
601
+ ["#74c365", "Mantis"],
602
+ ["#755a57", "Russett"],
603
+ ["#7563a8", "Deluge"],
604
+ ["#76395d", "Cosmic"],
605
+ ["#7666c6", "Blue Marguerite"],
606
+ ["#76bd17", "Lima"],
607
+ ["#76d7ea", "Sky Blue"],
608
+ ["#770f05", "Dark Burgundy"],
609
+ ["#771f1f", "Crown Of Thorns"],
610
+ ["#773f1a", "Walnut"],
611
+ ["#776f61", "Pablo"],
612
+ ["#778120", "Pacifika"],
613
+ ["#779e86", "Oxley"],
614
+ ["#77dd77", "Pastel Green"],
615
+ ["#780109", "Japanese Maple"],
616
+ ["#782d19", "Mocha"],
617
+ ["#782f16", "Peanut"],
618
+ ["#78866b", "Camouflage Green"],
619
+ ["#788a25", "Wasabi"],
620
+ ["#788bba", "Ship Cove"],
621
+ ["#78a39c", "Sea Nymph"],
622
+ ["#795d4c", "Roman Coffee"],
623
+ ["#796878", "Old Lavender"],
624
+ ["#796989", "Rum"],
625
+ ["#796a78", "Fedora"],
626
+ ["#796d62", "Sandstone"],
627
+ ["#79deec", "Spray"],
628
+ ["#7a013a", "Siren"],
629
+ ["#7a58c1", "Fuchsia Blue"],
630
+ ["#7a7a7a", "Boulder"],
631
+ ["#7a89b8", "Wild Blue Yonder"],
632
+ ["#7ac488", "De York"],
633
+ ["#7b3801", "Red Beech"],
634
+ ["#7b3f00", "Cinnamon"],
635
+ ["#7b6608", "Yukon Gold"],
636
+ ["#7b7874", "Tapa"],
637
+ ["#7b7c94", "Waterloo "],
638
+ ["#7b8265", "Flax Smoke"],
639
+ ["#7b9f80", "Amulet"],
640
+ ["#7ba05b", "Asparagus"],
641
+ ["#7c1c05", "Kenyan Copper"],
642
+ ["#7c7631", "Pesto"],
643
+ ["#7c778a", "Topaz"],
644
+ ["#7c7b7a", "Concord"],
645
+ ["#7c7b82", "Jumbo"],
646
+ ["#7c881a", "Trendy Green"],
647
+ ["#7ca1a6", "Gumbo"],
648
+ ["#7cb0a1", "Acapulco"],
649
+ ["#7cb7bb", "Neptune"],
650
+ ["#7d2c14", "Pueblo"],
651
+ ["#7da98d", "Bay Leaf"],
652
+ ["#7dc8f7", "Malibu"],
653
+ ["#7dd8c6", "Bermuda"],
654
+ ["#7e3a15", "Copper Canyon"],
655
+ ["#7f1734", "Claret"],
656
+ ["#7f3a02", "Peru Tan"],
657
+ ["#7f626d", "Falcon"],
658
+ ["#7f7589", "Mobster"],
659
+ ["#7f76d3", "Moody Blue"],
660
+ ["#7fff00", "Chartreuse"],
661
+ ["#7fffd4", "Aquamarine"],
662
+ ["#800000", "Maroon"],
663
+ ["#800b47", "Rose Bud Cherry"],
664
+ ["#801818", "Falu Red"],
665
+ ["#80341f", "Red Robin"],
666
+ ["#803790", "Vivid Violet"],
667
+ ["#80461b", "Russet"],
668
+ ["#807e79", "Friar Gray"],
669
+ ["#808000", "Olive"],
670
+ ["#808080", "Gray"],
671
+ ["#80b3ae", "Gulf Stream"],
672
+ ["#80b3c4", "Glacier"],
673
+ ["#80ccea", "Seagull"],
674
+ ["#81422c", "Nutmeg"],
675
+ ["#816e71", "Spicy Pink"],
676
+ ["#817377", "Empress"],
677
+ ["#819885", "Spanish Green"],
678
+ ["#826f65", "Sand Dune"],
679
+ ["#828685", "Gunsmoke"],
680
+ ["#828f72", "Battleship Gray"],
681
+ ["#831923", "Merlot"],
682
+ ["#837050", "Shadow"],
683
+ ["#83aa5d", "Chelsea Cucumber"],
684
+ ["#83d0c6", "Monte Carlo"],
685
+ ["#843179", "Plum"],
686
+ ["#84a0a0", "Granny Smith"],
687
+ ["#8581d9", "Chetwode Blue"],
688
+ ["#858470", "Bandicoot"],
689
+ ["#859faf", "Bali Hai"],
690
+ ["#85c4cc", "Half Baked"],
691
+ ["#860111", "Red Devil"],
692
+ ["#863c3c", "Lotus"],
693
+ ["#86483c", "Ironstone"],
694
+ ["#864d1e", "Bull Shot"],
695
+ ["#86560a", "Rusty Nail"],
696
+ ["#868974", "Bitter"],
697
+ ["#86949f", "Regent Gray"],
698
+ ["#871550", "Disco"],
699
+ ["#87756e", "Americano"],
700
+ ["#877c7b", "Hurricane"],
701
+ ["#878d91", "Oslo Gray"],
702
+ ["#87ab39", "Sushi"],
703
+ ["#885342", "Spicy Mix"],
704
+ ["#886221", "Kumera"],
705
+ ["#888387", "Suva Gray"],
706
+ ["#888d65", "Avocado"],
707
+ ["#893456", "Camelot"],
708
+ ["#893843", "Solid Pink"],
709
+ ["#894367", "Cannon Pink"],
710
+ ["#897d6d", "Makara"],
711
+ ["#8a3324", "Burnt Umber"],
712
+ ["#8a73d6", "True V"],
713
+ ["#8a8360", "Clay Creek"],
714
+ ["#8a8389", "Monsoon"],
715
+ ["#8a8f8a", "Stack"],
716
+ ["#8ab9f1", "Jordy Blue"],
717
+ ["#8b00ff", "Electric Violet"],
718
+ ["#8b0723", "Monarch"],
719
+ ["#8b6b0b", "Corn Harvest"],
720
+ ["#8b8470", "Olive Haze"],
721
+ ["#8b847e", "Schooner"],
722
+ ["#8b8680", "Natural Gray"],
723
+ ["#8b9c90", "Mantle"],
724
+ ["#8b9fee", "Portage"],
725
+ ["#8ba690", "Envy"],
726
+ ["#8ba9a5", "Cascade"],
727
+ ["#8be6d8", "Riptide"],
728
+ ["#8c055e", "Cardinal Pink"],
729
+ ["#8c472f", "Mule Fawn"],
730
+ ["#8c5738", "Potters Clay"],
731
+ ["#8c6495", "Trendy Pink"],
732
+ ["#8d0226", "Paprika"],
733
+ ["#8d3d38", "Sanguine Brown"],
734
+ ["#8d3f3f", "Tosca"],
735
+ ["#8d7662", "Cement"],
736
+ ["#8d8974", "Granite Green"],
737
+ ["#8d90a1", "Manatee"],
738
+ ["#8da8cc", "Polo Blue"],
739
+ ["#8e0000", "Red Berry"],
740
+ ["#8e4d1e", "Rope"],
741
+ ["#8e6f70", "Opium"],
742
+ ["#8e775e", "Domino"],
743
+ ["#8e8190", "Mamba"],
744
+ ["#8eabc1", "Nepal"],
745
+ ["#8f021c", "Pohutukawa"],
746
+ ["#8f3e33", "El Salva"],
747
+ ["#8f4b0e", "Korma"],
748
+ ["#8f8176", "Squirrel"],
749
+ ["#8fd6b4", "Vista Blue"],
750
+ ["#900020", "Burgundy"],
751
+ ["#901e1e", "Old Brick"],
752
+ ["#907874", "Hemp"],
753
+ ["#907b71", "Almond Frost"],
754
+ ["#908d39", "Sycamore"],
755
+ ["#92000a", "Sangria"],
756
+ ["#924321", "Cumin"],
757
+ ["#926f5b", "Beaver"],
758
+ ["#928573", "Stonewall"],
759
+ ["#928590", "Venus"],
760
+ ["#9370db", "Medium Purple"],
761
+ ["#93ccea", "Cornflower"],
762
+ ["#93dfb8", "Algae Green"],
763
+ ["#944747", "Copper Rust"],
764
+ ["#948771", "Arrowtown"],
765
+ ["#950015", "Scarlett"],
766
+ ["#956387", "Strikemaster"],
767
+ ["#959396", "Mountain Mist"],
768
+ ["#960018", "Carmine"],
769
+ ["#964b00", "Brown"],
770
+ ["#967059", "Leather"],
771
+ ["#9678b6", "Purple Mountain's Majesty"],
772
+ ["#967bb6", "Lavender Purple"],
773
+ ["#96a8a1", "Pewter"],
774
+ ["#96bbab", "Summer Green"],
775
+ ["#97605d", "Au Chico"],
776
+ ["#9771b5", "Wisteria"],
777
+ ["#97cd2d", "Atlantis"],
778
+ ["#983d61", "Vin Rouge"],
779
+ ["#9874d3", "Lilac Bush"],
780
+ ["#98777b", "Bazaar"],
781
+ ["#98811b", "Hacienda"],
782
+ ["#988d77", "Pale Oyster"],
783
+ ["#98ff98", "Mint Green"],
784
+ ["#990066", "Fresh Eggplant"],
785
+ ["#991199", "Violet Eggplant"],
786
+ ["#991613", "Tamarillo"],
787
+ ["#991b07", "Totem Pole"],
788
+ ["#996666", "Copper Rose"],
789
+ ["#9966cc", "Amethyst"],
790
+ ["#997a8d", "Mountbatten Pink"],
791
+ ["#9999cc", "Blue Bell"],
792
+ ["#9a3820", "Prairie Sand"],
793
+ ["#9a6e61", "Toast"],
794
+ ["#9a9577", "Gurkha"],
795
+ ["#9ab973", "Olivine"],
796
+ ["#9ac2b8", "Shadow Green"],
797
+ ["#9b4703", "Oregon"],
798
+ ["#9b9e8f", "Lemon Grass"],
799
+ ["#9c3336", "Stiletto"],
800
+ ["#9d5616", "Hawaiian Tan"],
801
+ ["#9dacb7", "Gull Gray"],
802
+ ["#9dc209", "Pistachio"],
803
+ ["#9de093", "Granny Smith Apple"],
804
+ ["#9de5ff", "Anakiwa"],
805
+ ["#9e5302", "Chelsea Gem"],
806
+ ["#9e5b40", "Sepia Skin"],
807
+ ["#9ea587", "Sage"],
808
+ ["#9ea91f", "Citron"],
809
+ ["#9eb1cd", "Rock Blue"],
810
+ ["#9edee0", "Morning Glory"],
811
+ ["#9f381d", "Cognac"],
812
+ ["#9f821c", "Reef Gold"],
813
+ ["#9f9f9c", "Star Dust"],
814
+ ["#9fa0b1", "Santas Gray"],
815
+ ["#9fd7d3", "Sinbad"],
816
+ ["#9fdd8c", "Feijoa"],
817
+ ["#a02712", "Tabasco"],
818
+ ["#a1750d", "Buttered Rum"],
819
+ ["#a1adb5", "Hit Gray"],
820
+ ["#a1c50a", "Citrus"],
821
+ ["#a1dad7", "Aqua Island"],
822
+ ["#a1e9de", "Water Leaf"],
823
+ ["#a2006d", "Flirt"],
824
+ ["#a23b6c", "Rouge"],
825
+ ["#a26645", "Cape Palliser"],
826
+ ["#a2aab3", "Gray Chateau"],
827
+ ["#a2aeab", "Edward"],
828
+ ["#a3807b", "Pharlap"],
829
+ ["#a397b4", "Amethyst Smoke"],
830
+ ["#a3e3ed", "Blizzard Blue"],
831
+ ["#a4a49d", "Delta"],
832
+ ["#a4a6d3", "Wistful"],
833
+ ["#a4af6e", "Green Smoke"],
834
+ ["#a50b5e", "Jazzberry Jam"],
835
+ ["#a59b91", "Zorba"],
836
+ ["#a5cb0c", "Bahia"],
837
+ ["#a62f20", "Roof Terracotta"],
838
+ ["#a65529", "Paarl"],
839
+ ["#a68b5b", "Barley Corn"],
840
+ ["#a69279", "Donkey Brown"],
841
+ ["#a6a29a", "Dawn"],
842
+ ["#a72525", "Mexican Red"],
843
+ ["#a7882c", "Luxor Gold"],
844
+ ["#a85307", "Rich Gold"],
845
+ ["#a86515", "Reno Sand"],
846
+ ["#a86b6b", "Coral Tree"],
847
+ ["#a8989b", "Dusty Gray"],
848
+ ["#a899e6", "Dull Lavender"],
849
+ ["#a8a589", "Tallow"],
850
+ ["#a8ae9c", "Bud"],
851
+ ["#a8af8e", "Locust"],
852
+ ["#a8bd9f", "Norway"],
853
+ ["#a8e3bd", "Chinook"],
854
+ ["#a9a491", "Gray Olive"],
855
+ ["#a9acb6", "Aluminium"],
856
+ ["#a9b2c3", "Cadet Blue"],
857
+ ["#a9b497", "Schist"],
858
+ ["#a9bdbf", "Tower Gray"],
859
+ ["#a9bef2", "Perano"],
860
+ ["#a9c6c2", "Opal"],
861
+ ["#aa375a", "Night Shadz"],
862
+ ["#aa4203", "Fire"],
863
+ ["#aa8b5b", "Muesli"],
864
+ ["#aa8d6f", "Sandal"],
865
+ ["#aaa5a9", "Shady Lady"],
866
+ ["#aaa9cd", "Logan"],
867
+ ["#aaabb7", "Spun Pearl"],
868
+ ["#aad6e6", "Regent St Blue"],
869
+ ["#aaf0d1", "Magic Mint"],
870
+ ["#ab0563", "Lipstick"],
871
+ ["#ab3472", "Royal Heath"],
872
+ ["#ab917a", "Sandrift"],
873
+ ["#aba0d9", "Cold Purple"],
874
+ ["#aba196", "Bronco"],
875
+ ["#ac8a56", "Limed Oak"],
876
+ ["#ac91ce", "East Side"],
877
+ ["#ac9e22", "Lemon Ginger"],
878
+ ["#aca494", "Napa"],
879
+ ["#aca586", "Hillary"],
880
+ ["#aca59f", "Cloudy"],
881
+ ["#acacac", "Silver Chalice"],
882
+ ["#acb78e", "Swamp Green"],
883
+ ["#accbb1", "Spring Rain"],
884
+ ["#acdd4d", "Conifer"],
885
+ ["#ace1af", "Celadon"],
886
+ ["#ad781b", "Mandalay"],
887
+ ["#adbed1", "Casper"],
888
+ ["#addfad", "Moss Green"],
889
+ ["#ade6c4", "Padua"],
890
+ ["#adff2f", "Green Yellow"],
891
+ ["#ae4560", "Hippie Pink"],
892
+ ["#ae6020", "Desert"],
893
+ ["#ae809e", "Bouquet"],
894
+ ["#af4035", "Medium Carmine"],
895
+ ["#af4d43", "Apple Blossom"],
896
+ ["#af593e", "Brown Rust"],
897
+ ["#af8751", "Driftwood"],
898
+ ["#af8f2c", "Alpine"],
899
+ ["#af9f1c", "Lucky"],
900
+ ["#afa09e", "Martini"],
901
+ ["#afb1b8", "Bombay"],
902
+ ["#afbdd9", "Pigeon Post"],
903
+ ["#b04c6a", "Cadillac"],
904
+ ["#b05d54", "Matrix"],
905
+ ["#b05e81", "Tapestry"],
906
+ ["#b06608", "Mai Tai"],
907
+ ["#b09a95", "Del Rio"],
908
+ ["#b0e0e6", "Powder Blue"],
909
+ ["#b0e313", "Inch Worm"],
910
+ ["#b10000", "Bright Red"],
911
+ ["#b14a0b", "Vesuvius"],
912
+ ["#b1610b", "Pumpkin Skin"],
913
+ ["#b16d52", "Santa Fe"],
914
+ ["#b19461", "Teak"],
915
+ ["#b1e2c1", "Fringy Flower"],
916
+ ["#b1f4e7", "Ice Cold"],
917
+ ["#b20931", "Shiraz"],
918
+ ["#b2a1ea", "Biloba Flower"],
919
+ ["#b32d29", "Tall Poppy"],
920
+ ["#b35213", "Fiery Orange"],
921
+ ["#b38007", "Hot Toddy"],
922
+ ["#b3af95", "Taupe Gray"],
923
+ ["#b3c110", "La Rioja"],
924
+ ["#b43332", "Well Read"],
925
+ ["#b44668", "Blush"],
926
+ ["#b4cfd3", "Jungle Mist"],
927
+ ["#b57281", "Turkish Rose"],
928
+ ["#b57edc", "Lavender"],
929
+ ["#b5a27f", "Mongoose"],
930
+ ["#b5b35c", "Olive Green"],
931
+ ["#b5d2ce", "Jet Stream"],
932
+ ["#b5ecdf", "Cruise"],
933
+ ["#b6316c", "Hibiscus"],
934
+ ["#b69d98", "Thatch"],
935
+ ["#b6b095", "Heathered Gray"],
936
+ ["#b6baa4", "Eagle"],
937
+ ["#b6d1ea", "Spindle"],
938
+ ["#b6d3bf", "Gum Leaf"],
939
+ ["#b7410e", "Rust"],
940
+ ["#b78e5c", "Muddy Waters"],
941
+ ["#b7a214", "Sahara"],
942
+ ["#b7a458", "Husk"],
943
+ ["#b7b1b1", "Nobel"],
944
+ ["#b7c3d0", "Heather"],
945
+ ["#b7f0be", "Madang"],
946
+ ["#b81104", "Milano Red"],
947
+ ["#b87333", "Copper"],
948
+ ["#b8b56a", "Gimblet"],
949
+ ["#b8c1b1", "Green Spring"],
950
+ ["#b8c25d", "Celery"],
951
+ ["#b8e0f9", "Sail"],
952
+ ["#b94e48", "Chestnut"],
953
+ ["#b95140", "Crail"],
954
+ ["#b98d28", "Marigold"],
955
+ ["#b9c46a", "Wild Willow"],
956
+ ["#b9c8ac", "Rainee"],
957
+ ["#ba0101", "Guardsman Red"],
958
+ ["#ba450c", "Rock Spray"],
959
+ ["#ba6f1e", "Bourbon"],
960
+ ["#ba7f03", "Pirate Gold"],
961
+ ["#bab1a2", "Nomad"],
962
+ ["#bac7c9", "Submarine"],
963
+ ["#baeef9", "Charlotte"],
964
+ ["#bb3385", "Medium Red Violet"],
965
+ ["#bb8983", "Brandy Rose"],
966
+ ["#bbd009", "Rio Grande"],
967
+ ["#bbd7c1", "Surf"],
968
+ ["#bcc9c2", "Powder Ash"],
969
+ ["#bd5e2e", "Tuscany"],
970
+ ["#bd978e", "Quicksand"],
971
+ ["#bdb1a8", "Silk"],
972
+ ["#bdb2a1", "Malta"],
973
+ ["#bdb3c7", "Chatelle"],
974
+ ["#bdbbd7", "Lavender Gray"],
975
+ ["#bdbdc6", "French Gray"],
976
+ ["#bdc8b3", "Clay Ash"],
977
+ ["#bdc9ce", "Loblolly"],
978
+ ["#bdedfd", "French Pass"],
979
+ ["#bea6c3", "London Hue"],
980
+ ["#beb5b7", "Pink Swan"],
981
+ ["#bede0d", "Fuego"],
982
+ ["#bf5500", "Rose Of Sharon"],
983
+ ["#bfb8b0", "Tide"],
984
+ ["#bfbed8", "Blue Haze"],
985
+ ["#bfc1c2", "Silver Sand"],
986
+ ["#bfc921", "Key Lime Pie"],
987
+ ["#bfdbe2", "Ziggurat"],
988
+ ["#bfff00", "Lime"],
989
+ ["#c02b18", "Thunderbird"],
990
+ ["#c04737", "Mojo"],
991
+ ["#c08081", "Old Rose"],
992
+ ["#c0c0c0", "Silver"],
993
+ ["#c0d3b9", "Pale Leaf"],
994
+ ["#c0d8b6", "Pixie Green"],
995
+ ["#c1440e", "Tia Maria"],
996
+ ["#c154c1", "Fuchsia Pink"],
997
+ ["#c1a004", "Buddha Gold"],
998
+ ["#c1b7a4", "Bison Hide"],
999
+ ["#c1bab0", "Tea"],
1000
+ ["#c1becd", "Gray Suit"],
1001
+ ["#c1d7b0", "Sprout"],
1002
+ ["#c1f07c", "Sulu"],
1003
+ ["#c26b03", "Indochine"],
1004
+ ["#c2955d", "Twine"],
1005
+ ["#c2bdb6", "Cotton Seed"],
1006
+ ["#c2cac4", "Pumice"],
1007
+ ["#c2e8e5", "Jagged Ice"],
1008
+ ["#c32148", "Maroon Flush"],
1009
+ ["#c3b091", "Indian Khaki"],
1010
+ ["#c3bfc1", "Pale Slate"],
1011
+ ["#c3c3bd", "Gray Nickel"],
1012
+ ["#c3cde6", "Periwinkle Gray"],
1013
+ ["#c3d1d1", "Tiara"],
1014
+ ["#c3ddf9", "Tropical Blue"],
1015
+ ["#c41e3a", "Cardinal"],
1016
+ ["#c45655", "Fuzzy Wuzzy Brown"],
1017
+ ["#c45719", "Orange Roughy"],
1018
+ ["#c4c4bc", "Mist Gray"],
1019
+ ["#c4d0b0", "Coriander"],
1020
+ ["#c4f4eb", "Mint Tulip"],
1021
+ ["#c54b8c", "Mulberry"],
1022
+ ["#c59922", "Nugget"],
1023
+ ["#c5994b", "Tussock"],
1024
+ ["#c5dbca", "Sea Mist"],
1025
+ ["#c5e17a", "Yellow Green"],
1026
+ ["#c62d42", "Brick Red"],
1027
+ ["#c6726b", "Contessa"],
1028
+ ["#c69191", "Oriental Pink"],
1029
+ ["#c6a84b", "Roti"],
1030
+ ["#c6c3b5", "Ash"],
1031
+ ["#c6c8bd", "Kangaroo"],
1032
+ ["#c6e610", "Las Palmas"],
1033
+ ["#c7031e", "Monza"],
1034
+ ["#c71585", "Red Violet"],
1035
+ ["#c7bca2", "Coral Reef"],
1036
+ ["#c7c1ff", "Melrose"],
1037
+ ["#c7c4bf", "Cloud"],
1038
+ ["#c7c9d5", "Ghost"],
1039
+ ["#c7cd90", "Pine Glade"],
1040
+ ["#c7dde5", "Botticelli"],
1041
+ ["#c88a65", "Antique Brass"],
1042
+ ["#c8a2c8", "Lilac"],
1043
+ ["#c8a528", "Hokey Pokey"],
1044
+ ["#c8aabf", "Lily"],
1045
+ ["#c8b568", "Laser"],
1046
+ ["#c8e3d7", "Edgewater"],
1047
+ ["#c96323", "Piper"],
1048
+ ["#c99415", "Pizza"],
1049
+ ["#c9a0dc", "Light Wisteria"],
1050
+ ["#c9b29b", "Rodeo Dust"],
1051
+ ["#c9b35b", "Sundance"],
1052
+ ["#c9b93b", "Earls Green"],
1053
+ ["#c9c0bb", "Silver Rust"],
1054
+ ["#c9d9d2", "Conch"],
1055
+ ["#c9ffa2", "Reef"],
1056
+ ["#c9ffe5", "Aero Blue"],
1057
+ ["#ca3435", "Flush Mahogany"],
1058
+ ["#cabb48", "Turmeric"],
1059
+ ["#cadcd4", "Paris White"],
1060
+ ["#cae00d", "Bitter Lemon"],
1061
+ ["#cae6da", "Skeptic"],
1062
+ ["#cb8fa9", "Viola"],
1063
+ ["#cbcab6", "Foggy Gray"],
1064
+ ["#cbd3b0", "Green Mist"],
1065
+ ["#cbdbd6", "Nebula"],
1066
+ ["#cc3333", "Persian Red"],
1067
+ ["#cc5500", "Burnt Orange"],
1068
+ ["#cc7722", "Ochre"],
1069
+ ["#cc8899", "Puce"],
1070
+ ["#cccaa8", "Thistle Green"],
1071
+ ["#ccccff", "Periwinkle"],
1072
+ ["#ccff00", "Electric Lime"],
1073
+ ["#cd5700", "Tenn"],
1074
+ ["#cd5c5c", "Chestnut Rose"],
1075
+ ["#cd8429", "Brandy Punch"],
1076
+ ["#cdf4ff", "Onahau"],
1077
+ ["#ceb98f", "Sorrell Brown"],
1078
+ ["#cebaba", "Cold Turkey"],
1079
+ ["#cec291", "Yuma"],
1080
+ ["#cec7a7", "Chino"],
1081
+ ["#cfa39d", "Eunry"],
1082
+ ["#cfb53b", "Old Gold"],
1083
+ ["#cfdccf", "Tasman"],
1084
+ ["#cfe5d2", "Surf Crest"],
1085
+ ["#cff9f3", "Humming Bird"],
1086
+ ["#cffaf4", "Scandal"],
1087
+ ["#d05f04", "Red Stage"],
1088
+ ["#d06da1", "Hopbush"],
1089
+ ["#d07d12", "Meteor"],
1090
+ ["#d0bef8", "Perfume"],
1091
+ ["#d0c0e5", "Prelude"],
1092
+ ["#d0f0c0", "Tea Green"],
1093
+ ["#d18f1b", "Geebung"],
1094
+ ["#d1bea8", "Vanilla"],
1095
+ ["#d1c6b4", "Soft Amber"],
1096
+ ["#d1d2ca", "Celeste"],
1097
+ ["#d1d2dd", "Mischka"],
1098
+ ["#d1e231", "Pear"],
1099
+ ["#d2691e", "Hot Cinnamon"],
1100
+ ["#d27d46", "Raw Sienna"],
1101
+ ["#d29eaa", "Careys Pink"],
1102
+ ["#d2b48c", "Tan"],
1103
+ ["#d2da97", "Deco"],
1104
+ ["#d2f6de", "Blue Romance"],
1105
+ ["#d2f8b0", "Gossip"],
1106
+ ["#d3cbba", "Sisal"],
1107
+ ["#d3cdc5", "Swirl"],
1108
+ ["#d47494", "Charm"],
1109
+ ["#d4b6af", "Clam Shell"],
1110
+ ["#d4bf8d", "Straw"],
1111
+ ["#d4c4a8", "Akaroa"],
1112
+ ["#d4cd16", "Bird Flower"],
1113
+ ["#d4d7d9", "Iron"],
1114
+ ["#d4dfe2", "Geyser"],
1115
+ ["#d4e2fc", "Hawkes Blue"],
1116
+ ["#d54600", "Grenadier"],
1117
+ ["#d591a4", "Can Can"],
1118
+ ["#d59a6f", "Whiskey"],
1119
+ ["#d5d195", "Winter Hazel"],
1120
+ ["#d5f6e3", "Granny Apple"],
1121
+ ["#d69188", "My Pink"],
1122
+ ["#d6c562", "Tacha"],
1123
+ ["#d6cef6", "Moon Raker"],
1124
+ ["#d6d6d1", "Quill Gray"],
1125
+ ["#d6ffdb", "Snowy Mint"],
1126
+ ["#d7837f", "New York Pink"],
1127
+ ["#d7c498", "Pavlova"],
1128
+ ["#d7d0ff", "Fog"],
1129
+ ["#d84437", "Valencia"],
1130
+ ["#d87c63", "Japonica"],
1131
+ ["#d8bfd8", "Thistle"],
1132
+ ["#d8c2d5", "Maverick"],
1133
+ ["#d8fcfa", "Foam"],
1134
+ ["#d94972", "Cabaret"],
1135
+ ["#d99376", "Burning Sand"],
1136
+ ["#d9b99b", "Cameo"],
1137
+ ["#d9d6cf", "Timberwolf"],
1138
+ ["#d9dcc1", "Tana"],
1139
+ ["#d9e4f5", "Link Water"],
1140
+ ["#d9f7ff", "Mabel"],
1141
+ ["#da3287", "Cerise"],
1142
+ ["#da5b38", "Flame Pea"],
1143
+ ["#da6304", "Bamboo"],
1144
+ ["#da6a41", "Red Damask"],
1145
+ ["#da70d6", "Orchid"],
1146
+ ["#da8a67", "Copperfield"],
1147
+ ["#daa520", "Golden Grass"],
1148
+ ["#daecd6", "Zanah"],
1149
+ ["#daf4f0", "Iceberg"],
1150
+ ["#dafaff", "Oyster Bay"],
1151
+ ["#db5079", "Cranberry"],
1152
+ ["#db9690", "Petite Orchid"],
1153
+ ["#db995e", "Di Serria"],
1154
+ ["#dbdbdb", "Alto"],
1155
+ ["#dbfff8", "Frosted Mint"],
1156
+ ["#dc143c", "Crimson"],
1157
+ ["#dc4333", "Punch"],
1158
+ ["#dcb20c", "Galliano"],
1159
+ ["#dcb4bc", "Blossom"],
1160
+ ["#dcd747", "Wattle"],
1161
+ ["#dcd9d2", "Westar"],
1162
+ ["#dcddcc", "Moon Mist"],
1163
+ ["#dcedb4", "Caper"],
1164
+ ["#dcf0ea", "Swans Down"],
1165
+ ["#ddd6d5", "Swiss Coffee"],
1166
+ ["#ddf9f1", "White Ice"],
1167
+ ["#de3163", "Cerise Red"],
1168
+ ["#de6360", "Roman"],
1169
+ ["#dea681", "Tumbleweed"],
1170
+ ["#deba13", "Gold Tips"],
1171
+ ["#dec196", "Brandy"],
1172
+ ["#decbc6", "Wafer"],
1173
+ ["#ded4a4", "Sapling"],
1174
+ ["#ded717", "Barberry"],
1175
+ ["#dee5c0", "Beryl Green"],
1176
+ ["#def5ff", "Pattens Blue"],
1177
+ ["#df73ff", "Heliotrope"],
1178
+ ["#dfbe6f", "Apache"],
1179
+ ["#dfcd6f", "Chenin"],
1180
+ ["#dfcfdb", "Lola"],
1181
+ ["#dfecda", "Willow Brook"],
1182
+ ["#dfff00", "Chartreuse Yellow"],
1183
+ ["#e0b0ff", "Mauve"],
1184
+ ["#e0b646", "Anzac"],
1185
+ ["#e0b974", "Harvest Gold"],
1186
+ ["#e0c095", "Calico"],
1187
+ ["#e0ffff", "Baby Blue"],
1188
+ ["#e16865", "Sunglo"],
1189
+ ["#e1bc64", "Equator"],
1190
+ ["#e1c0c8", "Pink Flare"],
1191
+ ["#e1e6d6", "Periglacial Blue"],
1192
+ ["#e1ead4", "Kidnapper"],
1193
+ ["#e1f6e8", "Tara"],
1194
+ ["#e25465", "Mandy"],
1195
+ ["#e2725b", "Terracotta"],
1196
+ ["#e28913", "Golden Bell"],
1197
+ ["#e292c0", "Shocking"],
1198
+ ["#e29418", "Dixie"],
1199
+ ["#e29cd2", "Light Orchid"],
1200
+ ["#e2d8ed", "Snuff"],
1201
+ ["#e2ebed", "Mystic"],
1202
+ ["#e2f3ec", "Apple Green"],
1203
+ ["#e30b5c", "Razzmatazz"],
1204
+ ["#e32636", "Alizarin Crimson"],
1205
+ ["#e34234", "Cinnabar"],
1206
+ ["#e3bebe", "Cavern Pink"],
1207
+ ["#e3f5e1", "Peppermint"],
1208
+ ["#e3f988", "Mindaro"],
1209
+ ["#e47698", "Deep Blush"],
1210
+ ["#e49b0f", "Gamboge"],
1211
+ ["#e4c2d5", "Melanie"],
1212
+ ["#e4cfde", "Twilight"],
1213
+ ["#e4d1c0", "Bone"],
1214
+ ["#e4d422", "Sunflower"],
1215
+ ["#e4d5b7", "Grain Brown"],
1216
+ ["#e4d69b", "Zombie"],
1217
+ ["#e4f6e7", "Frostee"],
1218
+ ["#e4ffd1", "Snow Flurry"],
1219
+ ["#e52b50", "Amaranth"],
1220
+ ["#e5841b", "Zest"],
1221
+ ["#e5ccc9", "Dust Storm"],
1222
+ ["#e5d7bd", "Stark White"],
1223
+ ["#e5d8af", "Hampton"],
1224
+ ["#e5e0e1", "Bon Jour"],
1225
+ ["#e5e5e5", "Mercury"],
1226
+ ["#e5f9f6", "Polar"],
1227
+ ["#e64e03", "Trinidad"],
1228
+ ["#e6be8a", "Gold Sand"],
1229
+ ["#e6bea5", "Cashmere"],
1230
+ ["#e6d7b9", "Double Spanish White"],
1231
+ ["#e6e4d4", "Satin Linen"],
1232
+ ["#e6f2ea", "Harp"],
1233
+ ["#e6f8f3", "Off Green"],
1234
+ ["#e6ffe9", "Hint Of Green"],
1235
+ ["#e6ffff", "Tranquil"],
1236
+ ["#e77200", "Mango Tango"],
1237
+ ["#e7730a", "Christine"],
1238
+ ["#e79f8c", "Tonys Pink"],
1239
+ ["#e79fc4", "Kobi"],
1240
+ ["#e7bcb4", "Rose Fog"],
1241
+ ["#e7bf05", "Corn"],
1242
+ ["#e7cd8c", "Putty"],
1243
+ ["#e7ece6", "Gray Nurse"],
1244
+ ["#e7f8ff", "Lily White"],
1245
+ ["#e7feff", "Bubbles"],
1246
+ ["#e89928", "Fire Bush"],
1247
+ ["#e8b9b3", "Shilo"],
1248
+ ["#e8e0d5", "Pearl Bush"],
1249
+ ["#e8ebe0", "Green White"],
1250
+ ["#e8f1d4", "Chrome White"],
1251
+ ["#e8f2eb", "Gin"],
1252
+ ["#e8f5f2", "Aqua Squeeze"],
1253
+ ["#e96e00", "Clementine"],
1254
+ ["#e97451", "Burnt Sienna"],
1255
+ ["#e97c07", "Tahiti Gold"],
1256
+ ["#e9cecd", "Oyster Pink"],
1257
+ ["#e9d75a", "Confetti"],
1258
+ ["#e9e3e3", "Ebb"],
1259
+ ["#e9f8ed", "Ottoman"],
1260
+ ["#e9fffd", "Clear Day"],
1261
+ ["#ea88a8", "Carissma"],
1262
+ ["#eaae69", "Porsche"],
1263
+ ["#eab33b", "Tulip Tree"],
1264
+ ["#eac674", "Rob Roy"],
1265
+ ["#eadab8", "Raffia"],
1266
+ ["#eae8d4", "White Rock"],
1267
+ ["#eaf6ee", "Panache"],
1268
+ ["#eaf6ff", "Solitude"],
1269
+ ["#eaf9f5", "Aqua Spring"],
1270
+ ["#eafffe", "Dew"],
1271
+ ["#eb9373", "Apricot"],
1272
+ ["#ebc2af", "Zinnwaldite"],
1273
+ ["#eca927", "Fuel Yellow"],
1274
+ ["#ecc54e", "Ronchi"],
1275
+ ["#ecc7ee", "French Lilac"],
1276
+ ["#eccdb9", "Just Right"],
1277
+ ["#ece090", "Wild Rice"],
1278
+ ["#ecebbd", "Fall Green"],
1279
+ ["#ecebce", "Aths Special"],
1280
+ ["#ecf245", "Starship"],
1281
+ ["#ed0a3f", "Red Ribbon"],
1282
+ ["#ed7a1c", "Tango"],
1283
+ ["#ed9121", "Carrot Orange"],
1284
+ ["#ed989e", "Sea Pink"],
1285
+ ["#edb381", "Tacao"],
1286
+ ["#edc9af", "Desert Sand"],
1287
+ ["#edcdab", "Pancho"],
1288
+ ["#eddcb1", "Chamois"],
1289
+ ["#edea99", "Primrose"],
1290
+ ["#edf5dd", "Frost"],
1291
+ ["#edf5f5", "Aqua Haze"],
1292
+ ["#edf6ff", "Zumthor"],
1293
+ ["#edf9f1", "Narvik"],
1294
+ ["#edfc84", "Honeysuckle"],
1295
+ ["#ee82ee", "Lavender Magenta"],
1296
+ ["#eec1be", "Beauty Bush"],
1297
+ ["#eed794", "Chalky"],
1298
+ ["#eed9c4", "Almond"],
1299
+ ["#eedc82", "Flax"],
1300
+ ["#eededa", "Bizarre"],
1301
+ ["#eee3ad", "Double Colonial White"],
1302
+ ["#eeeee8", "Cararra"],
1303
+ ["#eeef78", "Manz"],
1304
+ ["#eef0c8", "Tahuna Sands"],
1305
+ ["#eef0f3", "Athens Gray"],
1306
+ ["#eef3c3", "Tusk"],
1307
+ ["#eef4de", "Loafer"],
1308
+ ["#eef6f7", "Catskill White"],
1309
+ ["#eefdff", "Twilight Blue"],
1310
+ ["#eeff9a", "Jonquil"],
1311
+ ["#eeffe2", "Rice Flower"],
1312
+ ["#ef863f", "Jaffa"],
1313
+ ["#efefef", "Gallery"],
1314
+ ["#eff2f3", "Porcelain"],
1315
+ ["#f091a9", "Mauvelous"],
1316
+ ["#f0d52d", "Golden Dream"],
1317
+ ["#f0db7d", "Golden Sand"],
1318
+ ["#f0dc82", "Buff"],
1319
+ ["#f0e2ec", "Prim"],
1320
+ ["#f0e68c", "Khaki"],
1321
+ ["#f0eefd", "Selago"],
1322
+ ["#f0eeff", "Titan White"],
1323
+ ["#f0f8ff", "Alice Blue"],
1324
+ ["#f0fcea", "Feta"],
1325
+ ["#f18200", "Gold Drop"],
1326
+ ["#f19bab", "Wewak"],
1327
+ ["#f1e788", "Sahara Sand"],
1328
+ ["#f1e9d2", "Parchment"],
1329
+ ["#f1e9ff", "Blue Chalk"],
1330
+ ["#f1eec1", "Mint Julep"],
1331
+ ["#f1f1f1", "Seashell"],
1332
+ ["#f1f7f2", "Saltpan"],
1333
+ ["#f1ffad", "Tidal"],
1334
+ ["#f1ffc8", "Chiffon"],
1335
+ ["#f2552a", "Flamingo"],
1336
+ ["#f28500", "Tangerine"],
1337
+ ["#f2c3b2", "Mandys Pink"],
1338
+ ["#f2f2f2", "Concrete"],
1339
+ ["#f2fafa", "Black Squeeze"],
1340
+ ["#f34723", "Pomegranate"],
1341
+ ["#f3ad16", "Buttercup"],
1342
+ ["#f3d69d", "New Orleans"],
1343
+ ["#f3d9df", "Vanilla Ice"],
1344
+ ["#f3e7bb", "Sidecar"],
1345
+ ["#f3e9e5", "Dawn Pink"],
1346
+ ["#f3edcf", "Wheatfield"],
1347
+ ["#f3fb62", "Canary"],
1348
+ ["#f3fbd4", "Orinoco"],
1349
+ ["#f3ffd8", "Carla"],
1350
+ ["#f400a1", "Hollywood Cerise"],
1351
+ ["#f4a460", "Sandy brown"],
1352
+ ["#f4c430", "Saffron"],
1353
+ ["#f4d81c", "Ripe Lemon"],
1354
+ ["#f4ebd3", "Janna"],
1355
+ ["#f4f2ee", "Pampas"],
1356
+ ["#f4f4f4", "Wild Sand"],
1357
+ ["#f4f8ff", "Zircon"],
1358
+ ["#f57584", "Froly"],
1359
+ ["#f5c85c", "Cream Can"],
1360
+ ["#f5c999", "Manhattan"],
1361
+ ["#f5d5a0", "Maize"],
1362
+ ["#f5deb3", "Wheat"],
1363
+ ["#f5e7a2", "Sandwisp"],
1364
+ ["#f5e7e2", "Pot Pourri"],
1365
+ ["#f5e9d3", "Albescent White"],
1366
+ ["#f5edef", "Soft Peach"],
1367
+ ["#f5f3e5", "Ecru White"],
1368
+ ["#f5f5dc", "Beige"],
1369
+ ["#f5fb3d", "Golden Fizz"],
1370
+ ["#f5ffbe", "Australian Mint"],
1371
+ ["#f64a8a", "French Rose"],
1372
+ ["#f653a6", "Brilliant Rose"],
1373
+ ["#f6a4c9", "Illusion"],
1374
+ ["#f6f0e6", "Merino"],
1375
+ ["#f6f7f7", "Black Haze"],
1376
+ ["#f6ffdc", "Spring Sun"],
1377
+ ["#f7468a", "Violet Red"],
1378
+ ["#f77703", "Chilean Fire"],
1379
+ ["#f77fbe", "Persian Pink"],
1380
+ ["#f7b668", "Rajah"],
1381
+ ["#f7c8da", "Azalea"],
1382
+ ["#f7dbe6", "We Peep"],
1383
+ ["#f7f2e1", "Quarter Spanish White"],
1384
+ ["#f7f5fa", "Whisper"],
1385
+ ["#f7faf7", "Snow Drift"],
1386
+ ["#f8b853", "Casablanca"],
1387
+ ["#f8c3df", "Chantilly"],
1388
+ ["#f8d9e9", "Cherub"],
1389
+ ["#f8db9d", "Marzipan"],
1390
+ ["#f8dd5c", "Energy Yellow"],
1391
+ ["#f8e4bf", "Givry"],
1392
+ ["#f8f0e8", "White Linen"],
1393
+ ["#f8f4ff", "Magnolia"],
1394
+ ["#f8f6f1", "Spring Wood"],
1395
+ ["#f8f7dc", "Coconut Cream"],
1396
+ ["#f8f7fc", "White Lilac"],
1397
+ ["#f8f8f7", "Desert Storm"],
1398
+ ["#f8f99c", "Texas"],
1399
+ ["#f8facd", "Corn Field"],
1400
+ ["#f8fdd3", "Mimosa"],
1401
+ ["#f95a61", "Carnation"],
1402
+ ["#f9bf58", "Saffron Mango"],
1403
+ ["#f9e0ed", "Carousel Pink"],
1404
+ ["#f9e4bc", "Dairy Cream"],
1405
+ ["#f9e663", "Portica"],
1406
+ ["#f9eaf3", "Amour"],
1407
+ ["#f9f8e4", "Rum Swizzle"],
1408
+ ["#f9ff8b", "Dolly"],
1409
+ ["#f9fff6", "Sugar Cane"],
1410
+ ["#fa7814", "Ecstasy"],
1411
+ ["#fa9d5a", "Tan Hide"],
1412
+ ["#fad3a2", "Corvette"],
1413
+ ["#fadfad", "Peach Yellow"],
1414
+ ["#fae600", "Turbo"],
1415
+ ["#faeab9", "Astra"],
1416
+ ["#faeccc", "Champagne"],
1417
+ ["#faf0e6", "Linen"],
1418
+ ["#faf3f0", "Fantasy"],
1419
+ ["#faf7d6", "Citrine White"],
1420
+ ["#fafafa", "Alabaster"],
1421
+ ["#fafde4", "Hint Of Yellow"],
1422
+ ["#faffa4", "Milan"],
1423
+ ["#fb607f", "Brink Pink"],
1424
+ ["#fb8989", "Geraldine"],
1425
+ ["#fba0e3", "Lavender Rose"],
1426
+ ["#fba129", "Sea Buckthorn"],
1427
+ ["#fbac13", "Sun"],
1428
+ ["#fbaed2", "Lavender Pink"],
1429
+ ["#fbb2a3", "Rose Bud"],
1430
+ ["#fbbeda", "Cupid"],
1431
+ ["#fbcce7", "Classic Rose"],
1432
+ ["#fbceb1", "Apricot Peach"],
1433
+ ["#fbe7b2", "Banana Mania"],
1434
+ ["#fbe870", "Marigold Yellow"],
1435
+ ["#fbe96c", "Festival"],
1436
+ ["#fbea8c", "Sweet Corn"],
1437
+ ["#fbec5d", "Candy Corn"],
1438
+ ["#fbf9f9", "Hint Of Red"],
1439
+ ["#fbffba", "Shalimar"],
1440
+ ["#fc0fc0", "Shocking Pink"],
1441
+ ["#fc80a5", "Tickle Me Pink"],
1442
+ ["#fc9c1d", "Tree Poppy"],
1443
+ ["#fcc01e", "Lightning Yellow"],
1444
+ ["#fcd667", "Goldenrod"],
1445
+ ["#fcd917", "Candlelight"],
1446
+ ["#fcda98", "Cherokee"],
1447
+ ["#fcf4d0", "Double Pearl Lusta"],
1448
+ ["#fcf4dc", "Pearl Lusta"],
1449
+ ["#fcf8f7", "Vista White"],
1450
+ ["#fcfbf3", "Bianca"],
1451
+ ["#fcfeda", "Moon Glow"],
1452
+ ["#fcffe7", "China Ivory"],
1453
+ ["#fcfff9", "Ceramic"],
1454
+ ["#fd0e35", "Torch Red"],
1455
+ ["#fd5b78", "Wild Watermelon"],
1456
+ ["#fd7b33", "Crusta"],
1457
+ ["#fd7c07", "Sorbus"],
1458
+ ["#fd9fa2", "Sweet Pink"],
1459
+ ["#fdd5b1", "Light Apricot"],
1460
+ ["#fdd7e4", "Pig Pink"],
1461
+ ["#fde1dc", "Cinderella"],
1462
+ ["#fde295", "Golden Glow"],
1463
+ ["#fde910", "Lemon"],
1464
+ ["#fdf5e6", "Old Lace"],
1465
+ ["#fdf6d3", "Half Colonial White"],
1466
+ ["#fdf7ad", "Drover"],
1467
+ ["#fdfeb8", "Pale Prim"],
1468
+ ["#fdffd5", "Cumulus"],
1469
+ ["#fe28a2", "Persian Rose"],
1470
+ ["#fe4c40", "Sunset Orange"],
1471
+ ["#fe6f5e", "Bittersweet"],
1472
+ ["#fe9d04", "California"],
1473
+ ["#fea904", "Yellow Sea"],
1474
+ ["#febaad", "Melon"],
1475
+ ["#fed33c", "Bright Sun"],
1476
+ ["#fed85d", "Dandelion"],
1477
+ ["#fedb8d", "Salomie"],
1478
+ ["#fee5ac", "Cape Honey"],
1479
+ ["#feebf3", "Remy"],
1480
+ ["#feefce", "Oasis"],
1481
+ ["#fef0ec", "Bridesmaid"],
1482
+ ["#fef2c7", "Beeswax"],
1483
+ ["#fef3d8", "Bleach White"],
1484
+ ["#fef4cc", "Pipi"],
1485
+ ["#fef4db", "Half Spanish White"],
1486
+ ["#fef4f8", "Wisp Pink"],
1487
+ ["#fef5f1", "Provincial Pink"],
1488
+ ["#fef7de", "Half Dutch White"],
1489
+ ["#fef8e2", "Solitaire"],
1490
+ ["#fef8ff", "White Pointer"],
1491
+ ["#fef9e3", "Off Yellow"],
1492
+ ["#fefced", "Orange White"],
1493
+ ["#ff0000", "Red"],
1494
+ ["#ff007f", "Rose"],
1495
+ ["#ff00cc", "Purple Pizzazz"],
1496
+ ["#ff00ff", "Magenta Fuchsia"],
1497
+ ["#ff2400", "Scarlet"],
1498
+ ["#ff3399", "Wild Strawberry"],
1499
+ ["#ff33cc", "Razzle Dazzle Rose"],
1500
+ ["#ff355e", "Radical Red"],
1501
+ ["#ff3f34", "Red Orange"],
1502
+ ["#ff4040", "Coral Red"],
1503
+ ["#ff4d00", "Vermilion"],
1504
+ ["#ff4f00", "International Orange"],
1505
+ ["#ff6037", "Outrageous Orange"],
1506
+ ["#ff6600", "Blaze Orange"],
1507
+ ["#ff66ff", "Pink Flamingo"],
1508
+ ["#ff681f", "Orange"],
1509
+ ["#ff69b4", "Hot Pink"],
1510
+ ["#ff6b53", "Persimmon"],
1511
+ ["#ff6fff", "Blush Pink"],
1512
+ ["#ff7034", "Burning Orange"],
1513
+ ["#ff7518", "Pumpkin"],
1514
+ ["#ff7d07", "Flamenco"],
1515
+ ["#ff7f00", "Flush Orange"],
1516
+ ["#ff7f50", "Coral"],
1517
+ ["#ff8c69", "Salmon"],
1518
+ ["#ff9000", "Pizazz"],
1519
+ ["#ff910f", "West Side"],
1520
+ ["#ff91a4", "Pink Salmon"],
1521
+ ["#ff9933", "Neon Carrot"],
1522
+ ["#ff9966", "Atomic Tangerine"],
1523
+ ["#ff9980", "Vivid Tangerine"],
1524
+ ["#ff9e2c", "Sunshade"],
1525
+ ["#ffa000", "Orange Peel"],
1526
+ ["#ffa194", "Mona Lisa"],
1527
+ ["#ffa500", "Web Orange"],
1528
+ ["#ffa6c9", "Carnation Pink"],
1529
+ ["#ffab81", "Hit Pink"],
1530
+ ["#ffae42", "Yellow Orange"],
1531
+ ["#ffb0ac", "Cornflower Lilac"],
1532
+ ["#ffb1b3", "Sundown"],
1533
+ ["#ffb31f", "My Sin"],
1534
+ ["#ffb555", "Texas Rose"],
1535
+ ["#ffb7d5", "Cotton Candy"],
1536
+ ["#ffb97b", "Macaroni And Cheese"],
1537
+ ["#ffba00", "Selective Yellow"],
1538
+ ["#ffbd5f", "Koromiko"],
1539
+ ["#ffbf00", "Amber"],
1540
+ ["#ffc0a8", "Wax Flower"],
1541
+ ["#ffc0cb", "Pink"],
1542
+ ["#ffc3c0", "Your Pink"],
1543
+ ["#ffc901", "Supernova"],
1544
+ ["#ffcba4", "Flesh"],
1545
+ ["#ffcc33", "Sunglow"],
1546
+ ["#ffcc5c", "Golden Tainoi"],
1547
+ ["#ffcc99", "Peach Orange"],
1548
+ ["#ffcd8c", "Chardonnay"],
1549
+ ["#ffd1dc", "Pastel Pink"],
1550
+ ["#ffd2b7", "Romantic"],
1551
+ ["#ffd38c", "Grandis"],
1552
+ ["#ffd700", "Gold"],
1553
+ ["#ffd800", "School Bus Yellow"],
1554
+ ["#ffd8d9", "Cosmos"],
1555
+ ["#ffdb58", "Mustard"],
1556
+ ["#ffdcd6", "Peach Schnapps"],
1557
+ ["#ffddaf", "Caramel"],
1558
+ ["#ffddcd", "Tuft Bush"],
1559
+ ["#ffddcf", "Watusi"],
1560
+ ["#ffddf4", "Pink Lace"],
1561
+ ["#ffdead", "Navajo White"],
1562
+ ["#ffdeb3", "Frangipani"],
1563
+ ["#ffe1df", "Pippin"],
1564
+ ["#ffe1f2", "Pale Rose"],
1565
+ ["#ffe2c5", "Negroni"],
1566
+ ["#ffe5a0", "Cream Brulee"],
1567
+ ["#ffe5b4", "Peach"],
1568
+ ["#ffe6c7", "Tequila"],
1569
+ ["#ffe772", "Kournikova"],
1570
+ ["#ffeac8", "Sandy Beach"],
1571
+ ["#ffead4", "Karry"],
1572
+ ["#ffec13", "Broom"],
1573
+ ["#ffedbc", "Colonial White"],
1574
+ ["#ffeed8", "Derby"],
1575
+ ["#ffefa1", "Vis Vis"],
1576
+ ["#ffefc1", "Egg White"],
1577
+ ["#ffefd5", "Papaya Whip"],
1578
+ ["#ffefec", "Fair Pink"],
1579
+ ["#fff0db", "Peach Cream"],
1580
+ ["#fff0f5", "Lavender Blush"],
1581
+ ["#fff14f", "Gorse"],
1582
+ ["#fff1b5", "Buttermilk"],
1583
+ ["#fff1d8", "Pink Lady"],
1584
+ ["#fff1ee", "Forget Me Not"],
1585
+ ["#fff1f9", "Tutu"],
1586
+ ["#fff39d", "Picasso"],
1587
+ ["#fff3f1", "Chardon"],
1588
+ ["#fff46e", "Paris Daisy"],
1589
+ ["#fff4ce", "Barley White"],
1590
+ ["#fff4dd", "Egg Sour"],
1591
+ ["#fff4e0", "Sazerac"],
1592
+ ["#fff4e8", "Serenade"],
1593
+ ["#fff4f3", "Chablis"],
1594
+ ["#fff5ee", "Seashell Peach"],
1595
+ ["#fff5f3", "Sauvignon"],
1596
+ ["#fff6d4", "Milk Punch"],
1597
+ ["#fff6df", "Varden"],
1598
+ ["#fff6f5", "Rose White"],
1599
+ ["#fff8d1", "Baja White"],
1600
+ ["#fff9e2", "Gin Fizz"],
1601
+ ["#fff9e6", "Early Dawn"],
1602
+ ["#fffacd", "Lemon Chiffon"],
1603
+ ["#fffaf4", "Bridal Heath"],
1604
+ ["#fffbdc", "Scotch Mist"],
1605
+ ["#fffbf9", "Soapstone"],
1606
+ ["#fffc99", "Witch Haze"],
1607
+ ["#fffcea", "Buttery White"],
1608
+ ["#fffcee", "Island Spice"],
1609
+ ["#fffdd0", "Cream"],
1610
+ ["#fffde6", "Chilean Heath"],
1611
+ ["#fffde8", "Travertine"],
1612
+ ["#fffdf3", "Orchid White"],
1613
+ ["#fffdf4", "Quarter Pearl Lusta"],
1614
+ ["#fffee1", "Half And Half"],
1615
+ ["#fffeec", "Apricot White"],
1616
+ ["#fffef0", "Rice Cake"],
1617
+ ["#fffef6", "Black White"],
1618
+ ["#fffefd", "Romance"],
1619
+ ["#ffff00", "Yellow"],
1620
+ ["#ffff66", "Laser Lemon"],
1621
+ ["#ffff99", "Pale Canary"],
1622
+ ["#ffffb4", "Portafino"],
1623
+ ["#fffff0", "Ivory"],
1624
+ ["#ffffff", "White"]
1625
+ ];
1626
+ colorNames.reduce((acc, [hex, name]) => {
1627
+ acc[hex] = name;
1628
+ return acc;
1629
+ }, {});
1630
+ //#endregion
1631
+ //#region src/utils/color/constant/palette.ts
1632
+ var colorPalettes = [
1633
+ {
1634
+ name: "Slate",
1635
+ palettes: [
1636
+ {
1637
+ hex: "#f8fafc",
1638
+ number: 50
1639
+ },
1640
+ {
1641
+ hex: "#f1f5f9",
1642
+ number: 100
1643
+ },
1644
+ {
1645
+ hex: "#e2e8f0",
1646
+ number: 200
1647
+ },
1648
+ {
1649
+ hex: "#cbd5e1",
1650
+ number: 300
1651
+ },
1652
+ {
1653
+ hex: "#94a3b8",
1654
+ number: 400
1655
+ },
1656
+ {
1657
+ hex: "#64748b",
1658
+ number: 500
1659
+ },
1660
+ {
1661
+ hex: "#475569",
1662
+ number: 600
1663
+ },
1664
+ {
1665
+ hex: "#334155",
1666
+ number: 700
1667
+ },
1668
+ {
1669
+ hex: "#1e293b",
1670
+ number: 800
1671
+ },
1672
+ {
1673
+ hex: "#0f172a",
1674
+ number: 900
1675
+ },
1676
+ {
1677
+ hex: "#020617",
1678
+ number: 950
1679
+ }
1680
+ ]
1681
+ },
1682
+ {
1683
+ name: "Gray",
1684
+ palettes: [
1685
+ {
1686
+ hex: "#f9fafb",
1687
+ number: 50
1688
+ },
1689
+ {
1690
+ hex: "#f3f4f6",
1691
+ number: 100
1692
+ },
1693
+ {
1694
+ hex: "#e5e7eb",
1695
+ number: 200
1696
+ },
1697
+ {
1698
+ hex: "#d1d5db",
1699
+ number: 300
1700
+ },
1701
+ {
1702
+ hex: "#9ca3af",
1703
+ number: 400
1704
+ },
1705
+ {
1706
+ hex: "#6b7280",
1707
+ number: 500
1708
+ },
1709
+ {
1710
+ hex: "#4b5563",
1711
+ number: 600
1712
+ },
1713
+ {
1714
+ hex: "#374151",
1715
+ number: 700
1716
+ },
1717
+ {
1718
+ hex: "#1f2937",
1719
+ number: 800
1720
+ },
1721
+ {
1722
+ hex: "#111827",
1723
+ number: 900
1724
+ },
1725
+ {
1726
+ hex: "#030712",
1727
+ number: 950
1728
+ }
1729
+ ]
1730
+ },
1731
+ {
1732
+ name: "Zinc",
1733
+ palettes: [
1734
+ {
1735
+ hex: "#fafafa",
1736
+ number: 50
1737
+ },
1738
+ {
1739
+ hex: "#f4f4f5",
1740
+ number: 100
1741
+ },
1742
+ {
1743
+ hex: "#e4e4e7",
1744
+ number: 200
1745
+ },
1746
+ {
1747
+ hex: "#d4d4d8",
1748
+ number: 300
1749
+ },
1750
+ {
1751
+ hex: "#a1a1aa",
1752
+ number: 400
1753
+ },
1754
+ {
1755
+ hex: "#71717a",
1756
+ number: 500
1757
+ },
1758
+ {
1759
+ hex: "#52525b",
1760
+ number: 600
1761
+ },
1762
+ {
1763
+ hex: "#3f3f46",
1764
+ number: 700
1765
+ },
1766
+ {
1767
+ hex: "#27272a",
1768
+ number: 800
1769
+ },
1770
+ {
1771
+ hex: "#18181b",
1772
+ number: 900
1773
+ },
1774
+ {
1775
+ hex: "#09090b",
1776
+ number: 950
1777
+ }
1778
+ ]
1779
+ },
1780
+ {
1781
+ name: "Neutral",
1782
+ palettes: [
1783
+ {
1784
+ hex: "#fafafa",
1785
+ number: 50
1786
+ },
1787
+ {
1788
+ hex: "#f5f5f5",
1789
+ number: 100
1790
+ },
1791
+ {
1792
+ hex: "#e5e5e5",
1793
+ number: 200
1794
+ },
1795
+ {
1796
+ hex: "#d4d4d4",
1797
+ number: 300
1798
+ },
1799
+ {
1800
+ hex: "#a3a3a3",
1801
+ number: 400
1802
+ },
1803
+ {
1804
+ hex: "#737373",
1805
+ number: 500
1806
+ },
1807
+ {
1808
+ hex: "#525252",
1809
+ number: 600
1810
+ },
1811
+ {
1812
+ hex: "#404040",
1813
+ number: 700
1814
+ },
1815
+ {
1816
+ hex: "#262626",
1817
+ number: 800
1818
+ },
1819
+ {
1820
+ hex: "#171717",
1821
+ number: 900
1822
+ },
1823
+ {
1824
+ hex: "#0a0a0a",
1825
+ number: 950
1826
+ }
1827
+ ]
1828
+ },
1829
+ {
1830
+ name: "Stone",
1831
+ palettes: [
1832
+ {
1833
+ hex: "#fafaf9",
1834
+ number: 50
1835
+ },
1836
+ {
1837
+ hex: "#f5f5f4",
1838
+ number: 100
1839
+ },
1840
+ {
1841
+ hex: "#e7e5e4",
1842
+ number: 200
1843
+ },
1844
+ {
1845
+ hex: "#d6d3d1",
1846
+ number: 300
1847
+ },
1848
+ {
1849
+ hex: "#a8a29e",
1850
+ number: 400
1851
+ },
1852
+ {
1853
+ hex: "#78716c",
1854
+ number: 500
1855
+ },
1856
+ {
1857
+ hex: "#57534e",
1858
+ number: 600
1859
+ },
1860
+ {
1861
+ hex: "#44403c",
1862
+ number: 700
1863
+ },
1864
+ {
1865
+ hex: "#292524",
1866
+ number: 800
1867
+ },
1868
+ {
1869
+ hex: "#1c1917",
1870
+ number: 900
1871
+ },
1872
+ {
1873
+ hex: "#0c0a09",
1874
+ number: 950
1875
+ }
1876
+ ]
1877
+ },
1878
+ {
1879
+ name: "Red",
1880
+ palettes: [
1881
+ {
1882
+ hex: "#fef2f2",
1883
+ number: 50
1884
+ },
1885
+ {
1886
+ hex: "#fee2e2",
1887
+ number: 100
1888
+ },
1889
+ {
1890
+ hex: "#fecaca",
1891
+ number: 200
1892
+ },
1893
+ {
1894
+ hex: "#fca5a5",
1895
+ number: 300
1896
+ },
1897
+ {
1898
+ hex: "#f87171",
1899
+ number: 400
1900
+ },
1901
+ {
1902
+ hex: "#ef4444",
1903
+ number: 500
1904
+ },
1905
+ {
1906
+ hex: "#dc2626",
1907
+ number: 600
1908
+ },
1909
+ {
1910
+ hex: "#b91c1c",
1911
+ number: 700
1912
+ },
1913
+ {
1914
+ hex: "#991b1b",
1915
+ number: 800
1916
+ },
1917
+ {
1918
+ hex: "#7f1d1d",
1919
+ number: 900
1920
+ },
1921
+ {
1922
+ hex: "#450a0a",
1923
+ number: 950
1924
+ }
1925
+ ]
1926
+ },
1927
+ {
1928
+ name: "Orange",
1929
+ palettes: [
1930
+ {
1931
+ hex: "#fff7ed",
1932
+ number: 50
1933
+ },
1934
+ {
1935
+ hex: "#ffedd5",
1936
+ number: 100
1937
+ },
1938
+ {
1939
+ hex: "#fed7aa",
1940
+ number: 200
1941
+ },
1942
+ {
1943
+ hex: "#fdba74",
1944
+ number: 300
1945
+ },
1946
+ {
1947
+ hex: "#fb923c",
1948
+ number: 400
1949
+ },
1950
+ {
1951
+ hex: "#f97316",
1952
+ number: 500
1953
+ },
1954
+ {
1955
+ hex: "#ea580c",
1956
+ number: 600
1957
+ },
1958
+ {
1959
+ hex: "#c2410c",
1960
+ number: 700
1961
+ },
1962
+ {
1963
+ hex: "#9a3412",
1964
+ number: 800
1965
+ },
1966
+ {
1967
+ hex: "#7c2d12",
1968
+ number: 900
1969
+ },
1970
+ {
1971
+ hex: "#431407",
1972
+ number: 950
1973
+ }
1974
+ ]
1975
+ },
1976
+ {
1977
+ name: "Amber",
1978
+ palettes: [
1979
+ {
1980
+ hex: "#fffbeb",
1981
+ number: 50
1982
+ },
1983
+ {
1984
+ hex: "#fef3c7",
1985
+ number: 100
1986
+ },
1987
+ {
1988
+ hex: "#fde68a",
1989
+ number: 200
1990
+ },
1991
+ {
1992
+ hex: "#fcd34d",
1993
+ number: 300
1994
+ },
1995
+ {
1996
+ hex: "#fbbf24",
1997
+ number: 400
1998
+ },
1999
+ {
2000
+ hex: "#f59e0b",
2001
+ number: 500
2002
+ },
2003
+ {
2004
+ hex: "#d97706",
2005
+ number: 600
2006
+ },
2007
+ {
2008
+ hex: "#b45309",
2009
+ number: 700
2010
+ },
2011
+ {
2012
+ hex: "#92400e",
2013
+ number: 800
2014
+ },
2015
+ {
2016
+ hex: "#78350f",
2017
+ number: 900
2018
+ },
2019
+ {
2020
+ hex: "#451a03",
2021
+ number: 950
2022
+ }
2023
+ ]
2024
+ },
2025
+ {
2026
+ name: "Yellow",
2027
+ palettes: [
2028
+ {
2029
+ hex: "#fefce8",
2030
+ number: 50
2031
+ },
2032
+ {
2033
+ hex: "#fef9c3",
2034
+ number: 100
2035
+ },
2036
+ {
2037
+ hex: "#fef08a",
2038
+ number: 200
2039
+ },
2040
+ {
2041
+ hex: "#fde047",
2042
+ number: 300
2043
+ },
2044
+ {
2045
+ hex: "#facc15",
2046
+ number: 400
2047
+ },
2048
+ {
2049
+ hex: "#eab308",
2050
+ number: 500
2051
+ },
2052
+ {
2053
+ hex: "#ca8a04",
2054
+ number: 600
2055
+ },
2056
+ {
2057
+ hex: "#a16207",
2058
+ number: 700
2059
+ },
2060
+ {
2061
+ hex: "#854d0e",
2062
+ number: 800
2063
+ },
2064
+ {
2065
+ hex: "#713f12",
2066
+ number: 900
2067
+ },
2068
+ {
2069
+ hex: "#422006",
2070
+ number: 950
2071
+ }
2072
+ ]
2073
+ },
2074
+ {
2075
+ name: "Lime",
2076
+ palettes: [
2077
+ {
2078
+ hex: "#f7fee7",
2079
+ number: 50
2080
+ },
2081
+ {
2082
+ hex: "#ecfccb",
2083
+ number: 100
2084
+ },
2085
+ {
2086
+ hex: "#d9f99d",
2087
+ number: 200
2088
+ },
2089
+ {
2090
+ hex: "#bef264",
2091
+ number: 300
2092
+ },
2093
+ {
2094
+ hex: "#a3e635",
2095
+ number: 400
2096
+ },
2097
+ {
2098
+ hex: "#84cc16",
2099
+ number: 500
2100
+ },
2101
+ {
2102
+ hex: "#65a30d",
2103
+ number: 600
2104
+ },
2105
+ {
2106
+ hex: "#4d7c0f",
2107
+ number: 700
2108
+ },
2109
+ {
2110
+ hex: "#3f6212",
2111
+ number: 800
2112
+ },
2113
+ {
2114
+ hex: "#365314",
2115
+ number: 900
2116
+ },
2117
+ {
2118
+ hex: "#1a2e05",
2119
+ number: 950
2120
+ }
2121
+ ]
2122
+ },
2123
+ {
2124
+ name: "Green",
2125
+ palettes: [
2126
+ {
2127
+ hex: "#f0fdf4",
2128
+ number: 50
2129
+ },
2130
+ {
2131
+ hex: "#dcfce7",
2132
+ number: 100
2133
+ },
2134
+ {
2135
+ hex: "#bbf7d0",
2136
+ number: 200
2137
+ },
2138
+ {
2139
+ hex: "#86efac",
2140
+ number: 300
2141
+ },
2142
+ {
2143
+ hex: "#4ade80",
2144
+ number: 400
2145
+ },
2146
+ {
2147
+ hex: "#22c55e",
2148
+ number: 500
2149
+ },
2150
+ {
2151
+ hex: "#16a34a",
2152
+ number: 600
2153
+ },
2154
+ {
2155
+ hex: "#15803d",
2156
+ number: 700
2157
+ },
2158
+ {
2159
+ hex: "#166534",
2160
+ number: 800
2161
+ },
2162
+ {
2163
+ hex: "#14532d",
2164
+ number: 900
2165
+ },
2166
+ {
2167
+ hex: "#052e16",
2168
+ number: 950
2169
+ }
2170
+ ]
2171
+ },
2172
+ {
2173
+ name: "Emerald",
2174
+ palettes: [
2175
+ {
2176
+ hex: "#ecfdf5",
2177
+ number: 50
2178
+ },
2179
+ {
2180
+ hex: "#d1fae5",
2181
+ number: 100
2182
+ },
2183
+ {
2184
+ hex: "#a7f3d0",
2185
+ number: 200
2186
+ },
2187
+ {
2188
+ hex: "#6ee7b7",
2189
+ number: 300
2190
+ },
2191
+ {
2192
+ hex: "#34d399",
2193
+ number: 400
2194
+ },
2195
+ {
2196
+ hex: "#10b981",
2197
+ number: 500
2198
+ },
2199
+ {
2200
+ hex: "#059669",
2201
+ number: 600
2202
+ },
2203
+ {
2204
+ hex: "#047857",
2205
+ number: 700
2206
+ },
2207
+ {
2208
+ hex: "#065f46",
2209
+ number: 800
2210
+ },
2211
+ {
2212
+ hex: "#064e3b",
2213
+ number: 900
2214
+ },
2215
+ {
2216
+ hex: "#022c22",
2217
+ number: 950
2218
+ }
2219
+ ]
2220
+ },
2221
+ {
2222
+ name: "Teal",
2223
+ palettes: [
2224
+ {
2225
+ hex: "#f0fdfa",
2226
+ number: 50
2227
+ },
2228
+ {
2229
+ hex: "#ccfbf1",
2230
+ number: 100
2231
+ },
2232
+ {
2233
+ hex: "#99f6e4",
2234
+ number: 200
2235
+ },
2236
+ {
2237
+ hex: "#5eead4",
2238
+ number: 300
2239
+ },
2240
+ {
2241
+ hex: "#2dd4bf",
2242
+ number: 400
2243
+ },
2244
+ {
2245
+ hex: "#14b8a6",
2246
+ number: 500
2247
+ },
2248
+ {
2249
+ hex: "#0d9488",
2250
+ number: 600
2251
+ },
2252
+ {
2253
+ hex: "#0f766e",
2254
+ number: 700
2255
+ },
2256
+ {
2257
+ hex: "#115e59",
2258
+ number: 800
2259
+ },
2260
+ {
2261
+ hex: "#134e4a",
2262
+ number: 900
2263
+ },
2264
+ {
2265
+ hex: "#042f2e",
2266
+ number: 950
2267
+ }
2268
+ ]
2269
+ },
2270
+ {
2271
+ name: "Cyan",
2272
+ palettes: [
2273
+ {
2274
+ hex: "#ecfeff",
2275
+ number: 50
2276
+ },
2277
+ {
2278
+ hex: "#cffafe",
2279
+ number: 100
2280
+ },
2281
+ {
2282
+ hex: "#a5f3fc",
2283
+ number: 200
2284
+ },
2285
+ {
2286
+ hex: "#67e8f9",
2287
+ number: 300
2288
+ },
2289
+ {
2290
+ hex: "#22d3ee",
2291
+ number: 400
2292
+ },
2293
+ {
2294
+ hex: "#06b6d4",
2295
+ number: 500
2296
+ },
2297
+ {
2298
+ hex: "#0891b2",
2299
+ number: 600
2300
+ },
2301
+ {
2302
+ hex: "#0e7490",
2303
+ number: 700
2304
+ },
2305
+ {
2306
+ hex: "#155e75",
2307
+ number: 800
2308
+ },
2309
+ {
2310
+ hex: "#164e63",
2311
+ number: 900
2312
+ },
2313
+ {
2314
+ hex: "#083344",
2315
+ number: 950
2316
+ }
2317
+ ]
2318
+ },
2319
+ {
2320
+ name: "Sky",
2321
+ palettes: [
2322
+ {
2323
+ hex: "#f0f9ff",
2324
+ number: 50
2325
+ },
2326
+ {
2327
+ hex: "#e0f2fe",
2328
+ number: 100
2329
+ },
2330
+ {
2331
+ hex: "#bae6fd",
2332
+ number: 200
2333
+ },
2334
+ {
2335
+ hex: "#7dd3fc",
2336
+ number: 300
2337
+ },
2338
+ {
2339
+ hex: "#38bdf8",
2340
+ number: 400
2341
+ },
2342
+ {
2343
+ hex: "#0ea5e9",
2344
+ number: 500
2345
+ },
2346
+ {
2347
+ hex: "#0284c7",
2348
+ number: 600
2349
+ },
2350
+ {
2351
+ hex: "#0369a1",
2352
+ number: 700
2353
+ },
2354
+ {
2355
+ hex: "#075985",
2356
+ number: 800
2357
+ },
2358
+ {
2359
+ hex: "#0c4a6e",
2360
+ number: 900
2361
+ },
2362
+ {
2363
+ hex: "#082f49",
2364
+ number: 950
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ name: "Blue",
2370
+ palettes: [
2371
+ {
2372
+ hex: "#eff6ff",
2373
+ number: 50
2374
+ },
2375
+ {
2376
+ hex: "#dbeafe",
2377
+ number: 100
2378
+ },
2379
+ {
2380
+ hex: "#bfdbfe",
2381
+ number: 200
2382
+ },
2383
+ {
2384
+ hex: "#93c5fd",
2385
+ number: 300
2386
+ },
2387
+ {
2388
+ hex: "#60a5fa",
2389
+ number: 400
2390
+ },
2391
+ {
2392
+ hex: "#3b82f6",
2393
+ number: 500
2394
+ },
2395
+ {
2396
+ hex: "#2563eb",
2397
+ number: 600
2398
+ },
2399
+ {
2400
+ hex: "#1d4ed8",
2401
+ number: 700
2402
+ },
2403
+ {
2404
+ hex: "#1e40af",
2405
+ number: 800
2406
+ },
2407
+ {
2408
+ hex: "#1e3a8a",
2409
+ number: 900
2410
+ },
2411
+ {
2412
+ hex: "#172554",
2413
+ number: 950
2414
+ }
2415
+ ]
2416
+ },
2417
+ {
2418
+ name: "Indigo",
2419
+ palettes: [
2420
+ {
2421
+ hex: "#eef2ff",
2422
+ number: 50
2423
+ },
2424
+ {
2425
+ hex: "#e0e7ff",
2426
+ number: 100
2427
+ },
2428
+ {
2429
+ hex: "#c7d2fe",
2430
+ number: 200
2431
+ },
2432
+ {
2433
+ hex: "#a5b4fc",
2434
+ number: 300
2435
+ },
2436
+ {
2437
+ hex: "#818cf8",
2438
+ number: 400
2439
+ },
2440
+ {
2441
+ hex: "#6366f1",
2442
+ number: 500
2443
+ },
2444
+ {
2445
+ hex: "#4f46e5",
2446
+ number: 600
2447
+ },
2448
+ {
2449
+ hex: "#4338ca",
2450
+ number: 700
2451
+ },
2452
+ {
2453
+ hex: "#3730a3",
2454
+ number: 800
2455
+ },
2456
+ {
2457
+ hex: "#312e81",
2458
+ number: 900
2459
+ },
2460
+ {
2461
+ hex: "#1e1b4b",
2462
+ number: 950
2463
+ }
2464
+ ]
2465
+ },
2466
+ {
2467
+ name: "Violet",
2468
+ palettes: [
2469
+ {
2470
+ hex: "#f5f3ff",
2471
+ number: 50
2472
+ },
2473
+ {
2474
+ hex: "#ede9fe",
2475
+ number: 100
2476
+ },
2477
+ {
2478
+ hex: "#ddd6fe",
2479
+ number: 200
2480
+ },
2481
+ {
2482
+ hex: "#c4b5fd",
2483
+ number: 300
2484
+ },
2485
+ {
2486
+ hex: "#a78bfa",
2487
+ number: 400
2488
+ },
2489
+ {
2490
+ hex: "#8b5cf6",
2491
+ number: 500
2492
+ },
2493
+ {
2494
+ hex: "#7c3aed",
2495
+ number: 600
2496
+ },
2497
+ {
2498
+ hex: "#6d28d9",
2499
+ number: 700
2500
+ },
2501
+ {
2502
+ hex: "#5b21b6",
2503
+ number: 800
2504
+ },
2505
+ {
2506
+ hex: "#4c1d95",
2507
+ number: 900
2508
+ },
2509
+ {
2510
+ hex: "#2e1065",
2511
+ number: 950
2512
+ }
2513
+ ]
2514
+ },
2515
+ {
2516
+ name: "Purple",
2517
+ palettes: [
2518
+ {
2519
+ hex: "#faf5ff",
2520
+ number: 50
2521
+ },
2522
+ {
2523
+ hex: "#f3e8ff",
2524
+ number: 100
2525
+ },
2526
+ {
2527
+ hex: "#e9d5ff",
2528
+ number: 200
2529
+ },
2530
+ {
2531
+ hex: "#d8b4fe",
2532
+ number: 300
2533
+ },
2534
+ {
2535
+ hex: "#c084fc",
2536
+ number: 400
2537
+ },
2538
+ {
2539
+ hex: "#a855f7",
2540
+ number: 500
2541
+ },
2542
+ {
2543
+ hex: "#9333ea",
2544
+ number: 600
2545
+ },
2546
+ {
2547
+ hex: "#7e22ce",
2548
+ number: 700
2549
+ },
2550
+ {
2551
+ hex: "#6b21a8",
2552
+ number: 800
2553
+ },
2554
+ {
2555
+ hex: "#581c87",
2556
+ number: 900
2557
+ },
2558
+ {
2559
+ hex: "#3b0764",
2560
+ number: 950
2561
+ }
2562
+ ]
2563
+ },
2564
+ {
2565
+ name: "Fuchsia",
2566
+ palettes: [
2567
+ {
2568
+ hex: "#fdf4ff",
2569
+ number: 50
2570
+ },
2571
+ {
2572
+ hex: "#fae8ff",
2573
+ number: 100
2574
+ },
2575
+ {
2576
+ hex: "#f5d0fe",
2577
+ number: 200
2578
+ },
2579
+ {
2580
+ hex: "#f0abfc",
2581
+ number: 300
2582
+ },
2583
+ {
2584
+ hex: "#e879f9",
2585
+ number: 400
2586
+ },
2587
+ {
2588
+ hex: "#d946ef",
2589
+ number: 500
2590
+ },
2591
+ {
2592
+ hex: "#c026d3",
2593
+ number: 600
2594
+ },
2595
+ {
2596
+ hex: "#a21caf",
2597
+ number: 700
2598
+ },
2599
+ {
2600
+ hex: "#86198f",
2601
+ number: 800
2602
+ },
2603
+ {
2604
+ hex: "#701a75",
2605
+ number: 900
2606
+ },
2607
+ {
2608
+ hex: "#4a044e",
2609
+ number: 950
2610
+ }
2611
+ ]
2612
+ },
2613
+ {
2614
+ name: "Pink",
2615
+ palettes: [
2616
+ {
2617
+ hex: "#fdf2f8",
2618
+ number: 50
2619
+ },
2620
+ {
2621
+ hex: "#fce7f3",
2622
+ number: 100
2623
+ },
2624
+ {
2625
+ hex: "#fbcfe8",
2626
+ number: 200
2627
+ },
2628
+ {
2629
+ hex: "#f9a8d4",
2630
+ number: 300
2631
+ },
2632
+ {
2633
+ hex: "#f472b6",
2634
+ number: 400
2635
+ },
2636
+ {
2637
+ hex: "#ec4899",
2638
+ number: 500
2639
+ },
2640
+ {
2641
+ hex: "#db2777",
2642
+ number: 600
2643
+ },
2644
+ {
2645
+ hex: "#be185d",
2646
+ number: 700
2647
+ },
2648
+ {
2649
+ hex: "#9d174d",
2650
+ number: 800
2651
+ },
2652
+ {
2653
+ hex: "#831843",
2654
+ number: 900
2655
+ },
2656
+ {
2657
+ hex: "#500724",
2658
+ number: 950
2659
+ }
2660
+ ]
2661
+ },
2662
+ {
2663
+ name: "Rose",
2664
+ palettes: [
2665
+ {
2666
+ hex: "#fff1f2",
2667
+ number: 50
2668
+ },
2669
+ {
2670
+ hex: "#ffe4e6",
2671
+ number: 100
2672
+ },
2673
+ {
2674
+ hex: "#fecdd3",
2675
+ number: 200
2676
+ },
2677
+ {
2678
+ hex: "#fda4af",
2679
+ number: 300
2680
+ },
2681
+ {
2682
+ hex: "#fb7185",
2683
+ number: 400
2684
+ },
2685
+ {
2686
+ hex: "#f43f5e",
2687
+ number: 500
2688
+ },
2689
+ {
2690
+ hex: "#e11d48",
2691
+ number: 600
2692
+ },
2693
+ {
2694
+ hex: "#be123c",
2695
+ number: 700
2696
+ },
2697
+ {
2698
+ hex: "#9f1239",
2699
+ number: 800
2700
+ },
2701
+ {
2702
+ hex: "#881337",
2703
+ number: 900
2704
+ },
2705
+ {
2706
+ hex: "#4c0519",
2707
+ number: 950
2708
+ }
2709
+ ]
2710
+ }
2711
+ ];
2712
+ //#endregion
2713
+ //#region src/utils/color/shared/colord.ts
2714
+ extend([
2715
+ namesPlugin,
2716
+ mixPlugin,
2717
+ labPlugin
2718
+ ]);
2719
+ function isValidColor(color) {
2720
+ return colord(color).isValid();
2721
+ }
2722
+ function getHex(color) {
2723
+ return colord(color).toHex();
2724
+ }
2725
+ function getRgb(color) {
2726
+ return colord(color).toRgb();
2727
+ }
2728
+ function getHsl(color) {
2729
+ return colord(color).toHsl();
2730
+ }
2731
+ function getHsv(color) {
2732
+ return colord(color).toHsv();
2733
+ }
2734
+ function getDeltaE(color1, color2) {
2735
+ return colord(color1).delta(color2);
2736
+ }
2737
+ function transformHslToHex(color) {
2738
+ return colord(color).toHex();
2739
+ }
2740
+ /**
2741
+ * Add color alpha
2742
+ *
2743
+ * @param color - Color
2744
+ * @param alpha - Alpha (0 - 1)
2745
+ */
2746
+ function addColorAlpha(color, alpha) {
2747
+ return colord(color).alpha(alpha).toHex();
2748
+ }
2749
+ /**
2750
+ * Mix color
2751
+ *
2752
+ * @param firstColor - First color
2753
+ * @param secondColor - Second color
2754
+ * @param ratio - The ratio of the second color (0 - 1)
2755
+ */
2756
+ function mixColor(firstColor, secondColor, ratio) {
2757
+ return colord(firstColor).mix(secondColor, ratio).toHex();
2758
+ }
2759
+ /**
2760
+ * Transform color with opacity to similar color without opacity
2761
+ *
2762
+ * @param color - Color
2763
+ * @param alpha - Alpha (0 - 1)
2764
+ * @param bgColor Background color (usually white or black)
2765
+ */
2766
+ function transformColorWithOpacity(color, alpha, bgColor = "#ffffff") {
2767
+ const { r: oR, g: oG, b: oB } = colord(addColorAlpha(color, alpha)).toRgb();
2768
+ const { r: bgR, g: bgG, b: bgB } = colord(bgColor).toRgb();
2769
+ function calRgb(or, bg, al) {
2770
+ return bg + (or - bg) * al;
2771
+ }
2772
+ return colord({
2773
+ r: calRgb(oR, bgR, alpha),
2774
+ g: calRgb(oG, bgG, alpha),
2775
+ b: calRgb(oB, bgB, alpha)
2776
+ }).toHex();
2777
+ }
2778
+ /**
2779
+ * Is white color
2780
+ *
2781
+ * @param color - Color
2782
+ */
2783
+ function isWhiteColor(color) {
2784
+ return colord(color).isEqual("#ffffff");
2785
+ }
2786
+ //#endregion
2787
+ //#region src/utils/color/shared/name.ts
2788
+ /**
2789
+ * Get color name
2790
+ *
2791
+ * @param color
2792
+ */
2793
+ function getColorName(color) {
2794
+ const hex = getHex(color);
2795
+ const rgb = getRgb(color);
2796
+ const hsl = getHsl(color);
2797
+ let ndf = 0;
2798
+ let ndf1 = 0;
2799
+ let ndf2 = 0;
2800
+ let cl = -1;
2801
+ let df = -1;
2802
+ let name = "";
2803
+ colorNames.some((item, index) => {
2804
+ const [hexValue, colorName] = item;
2805
+ const match = hex === hexValue;
2806
+ if (match) name = colorName;
2807
+ else {
2808
+ const { r, g, b } = getRgb(hexValue);
2809
+ const { h, s, l } = getHsl(hexValue);
2810
+ ndf1 = (rgb.r - r) ** 2 + (rgb.g - g) ** 2 + (rgb.b - b) ** 2;
2811
+ ndf2 = (hsl.h - h) ** 2 + (hsl.s - s) ** 2 + (hsl.l - l) ** 2;
2812
+ ndf = ndf1 + ndf2 * 2;
2813
+ if (df < 0 || df > ndf) {
2814
+ df = ndf;
2815
+ cl = index;
2816
+ }
2817
+ }
2818
+ return match;
2819
+ });
2820
+ name = colorNames[cl][1];
2821
+ return name;
2822
+ }
2823
+ //#endregion
2824
+ //#region src/utils/color/palette/recommend.ts
2825
+ /**
2826
+ * get recommended color palette by provided color
2827
+ *
2828
+ * @param color the provided color
2829
+ */
2830
+ function getRecommendedColorPalette(color) {
2831
+ const colorPaletteFamily = getRecommendedColorPaletteFamily(color);
2832
+ const colorMap = /* @__PURE__ */ new Map();
2833
+ colorPaletteFamily.palettes.forEach((palette) => {
2834
+ colorMap.set(palette.number, palette);
2835
+ });
2836
+ const mainColor = colorMap.get(500);
2837
+ const matchColor = colorPaletteFamily.palettes.find((palette) => palette.hex === color);
2838
+ return {
2839
+ ...colorPaletteFamily,
2840
+ colorMap,
2841
+ main: mainColor,
2842
+ match: matchColor
2843
+ };
2844
+ }
2845
+ /**
2846
+ * get color palette family by provided color and color name
2847
+ *
2848
+ * @param color the provided color
2849
+ */
2850
+ function getRecommendedColorPaletteFamily(color) {
2851
+ if (!isValidColor(color)) throw new Error("Invalid color, please check color value!");
2852
+ let colorName = getColorName(color);
2853
+ colorName = colorName.toLowerCase().replace(/\s/g, "-");
2854
+ const { h: h1, s: s1 } = getHsl(color);
2855
+ const { nearestLightnessPalette, palettes } = getNearestColorPaletteFamily(color, colorPalettes);
2856
+ const { number, hex } = nearestLightnessPalette;
2857
+ const { h: h2, s: s2 } = getHsl(hex);
2858
+ const deltaH = h1 - h2;
2859
+ const sRatio = s1 / s2;
2860
+ return {
2861
+ name: colorName,
2862
+ palettes: palettes.map((palette) => {
2863
+ let hexValue = color;
2864
+ if (!(number === palette.number)) {
2865
+ const { h: h3, s: s3, l } = getHsl(palette.hex);
2866
+ hexValue = transformHslToHex({
2867
+ h: deltaH < 0 ? h3 + deltaH : h3 - deltaH,
2868
+ s: s3 * sRatio,
2869
+ l
2870
+ });
2871
+ }
2872
+ return {
2873
+ hex: hexValue,
2874
+ number: palette.number
2875
+ };
2876
+ })
2877
+ };
2878
+ }
2879
+ /**
2880
+ * get nearest color palette family
2881
+ *
2882
+ * @param color color
2883
+ * @param families color palette families
2884
+ */
2885
+ function getNearestColorPaletteFamily(color, families) {
2886
+ const nearestPaletteFamily = families.map((family) => {
2887
+ const palettes = family.palettes.map((palette) => {
2888
+ return {
2889
+ ...palette,
2890
+ delta: getDeltaE(color, palette.hex)
2891
+ };
2892
+ });
2893
+ const nearestPalette = palettes.reduce((prev, curr) => prev.delta < curr.delta ? prev : curr);
2894
+ return {
2895
+ ...family,
2896
+ palettes,
2897
+ nearestPalette
2898
+ };
2899
+ }).reduce((prev, curr) => prev.nearestPalette.delta < curr.nearestPalette.delta ? prev : curr);
2900
+ const { l } = getHsl(color);
2901
+ return {
2902
+ ...nearestPaletteFamily,
2903
+ nearestLightnessPalette: nearestPaletteFamily.palettes.reduce((prev, curr) => {
2904
+ const { l: prevLightness } = getHsl(prev.hex);
2905
+ const { l: currLightness } = getHsl(curr.hex);
2906
+ return Math.abs(prevLightness - l) < Math.abs(currLightness - l) ? prev : curr;
2907
+ })
2908
+ };
2909
+ }
2910
+ //#endregion
2911
+ //#region src/utils/color/palette/antd.ts
2912
+ /** Hue step */
2913
+ var hueStep = 2;
2914
+ /** Saturation step, light color part */
2915
+ var saturationStep = 16;
2916
+ /** Saturation step, dark color part */
2917
+ var saturationStep2 = 5;
2918
+ /** Brightness step, light color part */
2919
+ var brightnessStep1 = 5;
2920
+ /** Brightness step, dark color part */
2921
+ var brightnessStep2 = 15;
2922
+ /** Light color count, main color up */
2923
+ var lightColorCount = 5;
2924
+ /** Dark color count, main color down */
2925
+ var darkColorCount = 4;
2926
+ /**
2927
+ * Get AntD palette color by index
2928
+ *
2929
+ * @param color - Color
2930
+ * @param index - The color index of color palette (the main color index is 6)
2931
+ * @returns Hex color
2932
+ */
2933
+ function getAntDPaletteColorByIndex(color, index) {
2934
+ if (!isValidColor(color)) throw new Error("invalid input color value");
2935
+ if (index === 6) return getHex(color);
2936
+ const isLight = index < 6;
2937
+ const hsv = getHsv(color);
2938
+ const i = isLight ? lightColorCount + 1 - index : index - lightColorCount - 1;
2939
+ return getHex({
2940
+ h: getHue(hsv, i, isLight),
2941
+ s: getSaturation(hsv, i, isLight),
2942
+ v: getValue(hsv, i, isLight)
2943
+ });
2944
+ }
2945
+ /** Map of dark color index and opacity */
2946
+ var darkColorMap = [
2947
+ {
2948
+ index: 7,
2949
+ opacity: .15
2950
+ },
2951
+ {
2952
+ index: 6,
2953
+ opacity: .25
2954
+ },
2955
+ {
2956
+ index: 5,
2957
+ opacity: .3
2958
+ },
2959
+ {
2960
+ index: 5,
2961
+ opacity: .45
2962
+ },
2963
+ {
2964
+ index: 5,
2965
+ opacity: .65
2966
+ },
2967
+ {
2968
+ index: 5,
2969
+ opacity: .85
2970
+ },
2971
+ {
2972
+ index: 5,
2973
+ opacity: .9
2974
+ },
2975
+ {
2976
+ index: 4,
2977
+ opacity: .93
2978
+ },
2979
+ {
2980
+ index: 3,
2981
+ opacity: .95
2982
+ },
2983
+ {
2984
+ index: 2,
2985
+ opacity: .97
2986
+ },
2987
+ {
2988
+ index: 1,
2989
+ opacity: .98
2990
+ }
2991
+ ];
2992
+ /**
2993
+ * Get AntD color palette
2994
+ *
2995
+ * @param color - Color
2996
+ * @param darkTheme - Dark theme
2997
+ * @param darkThemeMixColor - Dark theme mix color (default: #141414)
2998
+ */
2999
+ function getAntDColorPalette(color, darkTheme = false, darkThemeMixColor = "#141414") {
3000
+ const patterns = [
3001
+ 1,
3002
+ 2,
3003
+ 3,
3004
+ 4,
3005
+ 5,
3006
+ 6,
3007
+ 7,
3008
+ 8,
3009
+ 9,
3010
+ 10,
3011
+ 11
3012
+ ].map((index) => getAntDPaletteColorByIndex(color, index));
3013
+ if (darkTheme) return darkColorMap.map(({ index, opacity }) => {
3014
+ return mixColor(darkThemeMixColor, patterns[index], opacity);
3015
+ }).map((item) => getHex(item));
3016
+ return patterns;
3017
+ }
3018
+ /**
3019
+ * Get hue
3020
+ *
3021
+ * @param hsv - Hsv format color
3022
+ * @param i - The relative distance from 6
3023
+ * @param isLight - Is light color
3024
+ */
3025
+ function getHue(hsv, i, isLight) {
3026
+ let hue;
3027
+ const hsvH = Math.round(hsv.h);
3028
+ if (hsvH >= 60 && hsvH <= 240) hue = isLight ? hsvH - hueStep * i : hsvH + hueStep * i;
3029
+ else hue = isLight ? hsvH + hueStep * i : hsvH - hueStep * i;
3030
+ if (hue < 0) hue += 360;
3031
+ if (hue >= 360) hue -= 360;
3032
+ return hue;
3033
+ }
3034
+ /**
3035
+ * Get saturation
3036
+ *
3037
+ * @param hsv - Hsv format color
3038
+ * @param i - The relative distance from 6
3039
+ * @param isLight - Is light color
3040
+ */
3041
+ function getSaturation(hsv, i, isLight) {
3042
+ if (hsv.h === 0 && hsv.s === 0) return hsv.s;
3043
+ let saturation;
3044
+ if (isLight) saturation = hsv.s - saturationStep * i;
3045
+ else if (i === darkColorCount) saturation = hsv.s + saturationStep;
3046
+ else saturation = hsv.s + saturationStep2 * i;
3047
+ if (saturation > 100) saturation = 100;
3048
+ if (isLight && i === lightColorCount && saturation > 10) saturation = 10;
3049
+ if (saturation < 6) saturation = 6;
3050
+ return saturation;
3051
+ }
3052
+ /**
3053
+ * Get value of hsv
3054
+ *
3055
+ * @param hsv - Hsv format color
3056
+ * @param i - The relative distance from 6
3057
+ * @param isLight - Is light color
3058
+ */
3059
+ function getValue(hsv, i, isLight) {
3060
+ let value;
3061
+ if (isLight) value = hsv.v + brightnessStep1 * i;
3062
+ else value = hsv.v - brightnessStep2 * i;
3063
+ if (value > 100) value = 100;
3064
+ return value;
3065
+ }
3066
+ //#endregion
3067
+ //#region src/utils/color/palette/index.ts
3068
+ /**
3069
+ * get color palette by provided color
3070
+ *
3071
+ * @param color
3072
+ * @param recommended whether to get recommended color palette (the provided color may not be the main color)
3073
+ */
3074
+ function getColorPalette(color, recommended = false) {
3075
+ const colorMap = /* @__PURE__ */ new Map();
3076
+ if (recommended) getRecommendedColorPalette(getHex(color)).palettes.forEach((palette) => {
3077
+ colorMap.set(palette.number, palette.hex);
3078
+ });
3079
+ else {
3080
+ const colors = getAntDColorPalette(color);
3081
+ [
3082
+ 50,
3083
+ 100,
3084
+ 200,
3085
+ 300,
3086
+ 400,
3087
+ 500,
3088
+ 600,
3089
+ 700,
3090
+ 800,
3091
+ 900,
3092
+ 950
3093
+ ].forEach((number, index) => {
3094
+ colorMap.set(number, colors[index]);
3095
+ });
3096
+ }
3097
+ return colorMap;
3098
+ }
3099
+ /**
3100
+ * get color palette color by number
3101
+ *
3102
+ * @param color the provided color
3103
+ * @param number the color palette number
3104
+ * @param recommended whether to get recommended color palette (the provided color may not be the main color)
3105
+ */
3106
+ function getPaletteColorByNumber(color, number, recommended = false) {
3107
+ return getColorPalette(color, recommended).get(number);
3108
+ }
3109
+ //#endregion
3110
+ export { addColorAlpha, colorPalettes, colord, createLocalforage, createStorage, getColorName, getColorPalette, getDeltaE, getHex, getHsl, getHsv, getPaletteColorByNumber, getRgb, isValidColor, isWhiteColor, jsonClone, mixColor, nanoid, transformColorWithOpacity, transformHslToHex };