color-name-list 9.32.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -83
- package/changes.svg +3 -3
- package/dist/colornames.bestof.csv +28 -3
- package/dist/colornames.bestof.esm.js +1 -1
- package/dist/colornames.bestof.esm.mjs +1 -1
- package/dist/colornames.bestof.html +1 -1
- package/dist/colornames.bestof.json +1 -1
- package/dist/colornames.bestof.min.json +1 -1
- package/dist/colornames.bestof.scss +1 -1
- package/dist/colornames.bestof.umd.js +1 -1
- package/dist/colornames.bestof.xml +112 -12
- package/dist/colornames.bestof.yaml +84 -9
- package/dist/colornames.csv +49 -10
- package/dist/colornames.esm.js +1 -1
- package/dist/colornames.esm.mjs +1 -1
- package/dist/colornames.html +1 -1
- package/dist/colornames.json +1 -1
- package/dist/colornames.min.json +1 -1
- package/dist/colornames.scss +1 -1
- package/dist/colornames.umd.js +1 -1
- package/dist/colornames.xml +180 -24
- package/dist/colornames.yaml +136 -19
- package/package.json +1 -2
- package/scripts/lib.js +0 -110
- package/src/colornames.csv +56 -17
- package/scripts/server.js +0 -289
package/dist/colornames.yaml
CHANGED
|
@@ -1480,6 +1480,9 @@
|
|
|
1480
1480
|
-
|
|
1481
1481
|
name:"Alpine Salamander"
|
|
1482
1482
|
hex:"#051009"
|
|
1483
|
+
-
|
|
1484
|
+
name:"Alpine Sky"
|
|
1485
|
+
hex:"#79b4ce"
|
|
1483
1486
|
-
|
|
1484
1487
|
name:"Alpine Summer"
|
|
1485
1488
|
hex:"#a5a99a"
|
|
@@ -1948,6 +1951,9 @@
|
|
|
1948
1951
|
-
|
|
1949
1952
|
name:"Amore"
|
|
1950
1953
|
hex:"#ae2f48"
|
|
1954
|
+
-
|
|
1955
|
+
name:"Amorous"
|
|
1956
|
+
hex:"#967d96"
|
|
1951
1957
|
-
|
|
1952
1958
|
name:"Amorphous Rose"
|
|
1953
1959
|
hex:"#b1a7b7"
|
|
@@ -2107,6 +2113,9 @@
|
|
|
2107
2113
|
-
|
|
2108
2114
|
name:"Ancient Pewter"
|
|
2109
2115
|
hex:"#898d91"
|
|
2116
|
+
-
|
|
2117
|
+
name:"Ancient Pine"
|
|
2118
|
+
hex:"#444b43"
|
|
2110
2119
|
-
|
|
2111
2120
|
name:"Ancient Planks"
|
|
2112
2121
|
hex:"#774411"
|
|
@@ -2905,6 +2914,9 @@
|
|
|
2905
2914
|
-
|
|
2906
2915
|
name:"Apricot Buff"
|
|
2907
2916
|
hex:"#cd7e4d"
|
|
2917
|
+
-
|
|
2918
|
+
name:"Apricot Butter"
|
|
2919
|
+
hex:"#ffc782"
|
|
2908
2920
|
-
|
|
2909
2921
|
name:"Apricot Chicken"
|
|
2910
2922
|
hex:"#da8923"
|
|
@@ -3832,6 +3844,9 @@
|
|
|
3832
3844
|
-
|
|
3833
3845
|
name:"Artist's Canvas"
|
|
3834
3846
|
hex:"#eee4d2"
|
|
3847
|
+
-
|
|
3848
|
+
name:"Artist's Charcoal"
|
|
3849
|
+
hex:"#37393e"
|
|
3835
3850
|
-
|
|
3836
3851
|
name:"Artist's Shadow"
|
|
3837
3852
|
hex:"#a1969b"
|
|
@@ -5413,6 +5428,9 @@
|
|
|
5413
5428
|
-
|
|
5414
5429
|
name:"Baltic"
|
|
5415
5430
|
hex:"#279d9f"
|
|
5431
|
+
-
|
|
5432
|
+
name:"Baltic Amber"
|
|
5433
|
+
hex:"#fbb782"
|
|
5416
5434
|
-
|
|
5417
5435
|
name:"Baltic Blue"
|
|
5418
5436
|
hex:"#6c969a"
|
|
@@ -5602,6 +5620,9 @@
|
|
|
5602
5620
|
-
|
|
5603
5621
|
name:"Bananas Foster"
|
|
5604
5622
|
hex:"#dbbe97"
|
|
5623
|
+
-
|
|
5624
|
+
name:"Bancha"
|
|
5625
|
+
hex:"#666a47"
|
|
5605
5626
|
-
|
|
5606
5627
|
name:"Bancroft Village"
|
|
5607
5628
|
hex:"#816e54"
|
|
@@ -5617,6 +5638,9 @@
|
|
|
5617
5638
|
-
|
|
5618
5639
|
name:"Baneblade Brown"
|
|
5619
5640
|
hex:"#937f6d"
|
|
5641
|
+
-
|
|
5642
|
+
name:"Bang"
|
|
5643
|
+
hex:"#bc393b"
|
|
5620
5644
|
-
|
|
5621
5645
|
name:"Bangalore"
|
|
5622
5646
|
hex:"#bbaa88"
|
|
@@ -7903,6 +7927,9 @@
|
|
|
7903
7927
|
-
|
|
7904
7928
|
name:"Black Squeeze"
|
|
7905
7929
|
hex:"#e5e6df"
|
|
7930
|
+
-
|
|
7931
|
+
name:"Black Stallion"
|
|
7932
|
+
hex:"#0e191c"
|
|
7906
7933
|
-
|
|
7907
7934
|
name:"Black Suede"
|
|
7908
7935
|
hex:"#434342"
|
|
@@ -11596,6 +11623,9 @@
|
|
|
11596
11623
|
-
|
|
11597
11624
|
name:"Brunette"
|
|
11598
11625
|
hex:"#664238"
|
|
11626
|
+
-
|
|
11627
|
+
name:"Bruni Green"
|
|
11628
|
+
hex:"#829e2c"
|
|
11599
11629
|
-
|
|
11600
11630
|
name:"Brunneous"
|
|
11601
11631
|
hex:"#5e4662"
|
|
@@ -11857,6 +11887,9 @@
|
|
|
11857
11887
|
-
|
|
11858
11888
|
name:"Buffhide"
|
|
11859
11889
|
hex:"#a79c81"
|
|
11890
|
+
-
|
|
11891
|
+
name:"Buffy Citrine"
|
|
11892
|
+
hex:"#868929"
|
|
11860
11893
|
-
|
|
11861
11894
|
name:"Bugle Boy"
|
|
11862
11895
|
hex:"#bb8f4f"
|
|
@@ -14443,9 +14476,6 @@
|
|
|
14443
14476
|
-
|
|
14444
14477
|
name:"Catmint"
|
|
14445
14478
|
hex:"#c9a8ce"
|
|
14446
|
-
-
|
|
14447
|
-
name:"Catnap"
|
|
14448
|
-
hex:"#9fc3ac"
|
|
14449
14479
|
-
|
|
14450
14480
|
name:"Catnip"
|
|
14451
14481
|
hex:"#80aa95"
|
|
@@ -16258,6 +16288,9 @@
|
|
|
16258
16288
|
-
|
|
16259
16289
|
name:"Chocolate Bhut Jolokia"
|
|
16260
16290
|
hex:"#782a2e"
|
|
16291
|
+
-
|
|
16292
|
+
name:"Chocolate Bliss"
|
|
16293
|
+
hex:"#7f6054"
|
|
16261
16294
|
-
|
|
16262
16295
|
name:"Chocolate Brown"
|
|
16263
16296
|
hex:"#411900"
|
|
@@ -17694,9 +17727,6 @@
|
|
|
17694
17727
|
hex:"#f8b862"
|
|
17695
17728
|
-
|
|
17696
17729
|
name:"Cochineal Red"
|
|
17697
|
-
hex:"#7a4848"
|
|
17698
|
-
-
|
|
17699
|
-
name:"Cochineal Red/Rouge"
|
|
17700
17730
|
hex:"#9d2933"
|
|
17701
17731
|
-
|
|
17702
17732
|
name:"Cochise"
|
|
@@ -19234,6 +19264,9 @@
|
|
|
19234
19264
|
-
|
|
19235
19265
|
name:"Cosmic Explorer"
|
|
19236
19266
|
hex:"#551155"
|
|
19267
|
+
-
|
|
19268
|
+
name:"Cosmic Green"
|
|
19269
|
+
hex:"#30a877"
|
|
19237
19270
|
-
|
|
19238
19271
|
name:"Cosmic Heart"
|
|
19239
19272
|
hex:"#9601f4"
|
|
@@ -19471,6 +19504,9 @@
|
|
|
19471
19504
|
-
|
|
19472
19505
|
name:"Country Linens"
|
|
19473
19506
|
hex:"#d7c2a6"
|
|
19507
|
+
-
|
|
19508
|
+
name:"Country Meadow"
|
|
19509
|
+
hex:"#1a5a4e"
|
|
19474
19510
|
-
|
|
19475
19511
|
name:"Country Mist"
|
|
19476
19512
|
hex:"#dfebe2"
|
|
@@ -19639,6 +19675,9 @@
|
|
|
19639
19675
|
-
|
|
19640
19676
|
name:"Crab Bisque"
|
|
19641
19677
|
hex:"#f0b599"
|
|
19678
|
+
-
|
|
19679
|
+
name:"Crab Curry"
|
|
19680
|
+
hex:"#d94b28"
|
|
19642
19681
|
-
|
|
19643
19682
|
name:"Crab Nebula"
|
|
19644
19683
|
hex:"#004455"
|
|
@@ -23245,6 +23284,9 @@
|
|
|
23245
23284
|
-
|
|
23246
23285
|
name:"Diffused Orchid"
|
|
23247
23286
|
hex:"#93739e"
|
|
23287
|
+
-
|
|
23288
|
+
name:"Dig It"
|
|
23289
|
+
hex:"#8e6e57"
|
|
23248
23290
|
-
|
|
23249
23291
|
name:"Digger's Gold"
|
|
23250
23292
|
hex:"#a37336"
|
|
@@ -25384,6 +25426,9 @@
|
|
|
25384
25426
|
-
|
|
25385
25427
|
name:"Echoes of Love"
|
|
25386
25428
|
hex:"#eededd"
|
|
25429
|
+
-
|
|
25430
|
+
name:"Éclair au Chocolat"
|
|
25431
|
+
hex:"#7e4930"
|
|
25387
25432
|
-
|
|
25388
25433
|
name:"Eclectic"
|
|
25389
25434
|
hex:"#aaafbd"
|
|
@@ -26047,6 +26092,9 @@
|
|
|
26047
26092
|
-
|
|
26048
26093
|
name:"Emerald Ring"
|
|
26049
26094
|
hex:"#578758"
|
|
26095
|
+
-
|
|
26096
|
+
name:"Emerald Shimmer"
|
|
26097
|
+
hex:"#78944a"
|
|
26050
26098
|
-
|
|
26051
26099
|
name:"Emerald Spring"
|
|
26052
26100
|
hex:"#095155"
|
|
@@ -27709,6 +27757,9 @@
|
|
|
27709
27757
|
-
|
|
27710
27758
|
name:"Fallout Green"
|
|
27711
27759
|
hex:"#b6c121"
|
|
27760
|
+
-
|
|
27761
|
+
name:"Fallout Grey"
|
|
27762
|
+
hex:"#889977"
|
|
27712
27763
|
-
|
|
27713
27764
|
name:"Fallow"
|
|
27714
27765
|
hex:"#c19a51"
|
|
@@ -27949,6 +28000,9 @@
|
|
|
27949
28000
|
-
|
|
27950
28001
|
name:"Feasty Fuchsia"
|
|
27951
28002
|
hex:"#ee0088"
|
|
28003
|
+
-
|
|
28004
|
+
name:"Feather"
|
|
28005
|
+
hex:"#dad9ce"
|
|
27952
28006
|
-
|
|
27953
28007
|
name:"Feather Boa"
|
|
27954
28008
|
hex:"#f1c9cd"
|
|
@@ -28471,6 +28525,9 @@
|
|
|
28471
28525
|
-
|
|
28472
28526
|
name:"Fine Burgundy"
|
|
28473
28527
|
hex:"#815158"
|
|
28528
|
+
-
|
|
28529
|
+
name:"Fine Gold"
|
|
28530
|
+
hex:"#daa826"
|
|
28474
28531
|
-
|
|
28475
28532
|
name:"Fine Grain"
|
|
28476
28533
|
hex:"#d8cfc1"
|
|
@@ -30556,6 +30613,9 @@
|
|
|
30556
30613
|
-
|
|
30557
30614
|
name:"Fresh Zest"
|
|
30558
30615
|
hex:"#f5e9cf"
|
|
30616
|
+
-
|
|
30617
|
+
name:"Freshly Baked"
|
|
30618
|
+
hex:"#e9c180"
|
|
30559
30619
|
-
|
|
30560
30620
|
name:"Freshly Purpleized"
|
|
30561
30621
|
hex:"#5c5083"
|
|
@@ -31930,6 +31990,9 @@
|
|
|
31930
31990
|
-
|
|
31931
31991
|
name:"Gentle Grape"
|
|
31932
31992
|
hex:"#908a9b"
|
|
31993
|
+
-
|
|
31994
|
+
name:"Gentle Landscape"
|
|
31995
|
+
hex:"#a5ce8f"
|
|
31933
31996
|
-
|
|
31934
31997
|
name:"Gentle Mauve"
|
|
31935
31998
|
hex:"#958c9e"
|
|
@@ -33528,10 +33591,10 @@
|
|
|
33528
33591
|
hex:"#c49e69"
|
|
33529
33592
|
-
|
|
33530
33593
|
name:"Good Luck"
|
|
33531
|
-
hex:"#
|
|
33594
|
+
hex:"#499674"
|
|
33532
33595
|
-
|
|
33533
33596
|
name:"Good Luck Charm"
|
|
33534
|
-
hex:"#
|
|
33597
|
+
hex:"#86c994"
|
|
33535
33598
|
-
|
|
33536
33599
|
name:"Good Morning"
|
|
33537
33600
|
hex:"#fcfcda"
|
|
@@ -34447,6 +34510,9 @@
|
|
|
34447
34510
|
-
|
|
34448
34511
|
name:"Green Column"
|
|
34449
34512
|
hex:"#465149"
|
|
34513
|
+
-
|
|
34514
|
+
name:"Green Commando"
|
|
34515
|
+
hex:"#828039"
|
|
34450
34516
|
-
|
|
34451
34517
|
name:"Green Cow"
|
|
34452
34518
|
hex:"#beef69"
|
|
@@ -35047,6 +35113,9 @@
|
|
|
35047
35113
|
-
|
|
35048
35114
|
name:"Greengrass"
|
|
35049
35115
|
hex:"#72a355"
|
|
35116
|
+
-
|
|
35117
|
+
name:"Greenhorn"
|
|
35118
|
+
hex:"#b2cc9a"
|
|
35050
35119
|
-
|
|
35051
35120
|
name:"Greenhouse"
|
|
35052
35121
|
hex:"#3e6334"
|
|
@@ -51436,6 +51505,9 @@
|
|
|
51436
51505
|
-
|
|
51437
51506
|
name:"Moonless Night"
|
|
51438
51507
|
hex:"#3c393d"
|
|
51508
|
+
-
|
|
51509
|
+
name:"Moonless Sky"
|
|
51510
|
+
hex:"#444b4a"
|
|
51439
51511
|
-
|
|
51440
51512
|
name:"Moonlight"
|
|
51441
51513
|
hex:"#f6eed5"
|
|
@@ -53323,6 +53395,9 @@
|
|
|
53323
53395
|
-
|
|
53324
53396
|
name:"Navy Purple"
|
|
53325
53397
|
hex:"#9556eb"
|
|
53398
|
+
-
|
|
53399
|
+
name:"Navy Seal"
|
|
53400
|
+
hex:"#253a91"
|
|
53326
53401
|
-
|
|
53327
53402
|
name:"Navy Teal"
|
|
53328
53403
|
hex:"#20576e"
|
|
@@ -55057,9 +55132,6 @@
|
|
|
55057
55132
|
-
|
|
55058
55133
|
name:"Octarine"
|
|
55059
55134
|
hex:"#ccdd00"
|
|
55060
|
-
-
|
|
55061
|
-
name:"Octavius"
|
|
55062
|
-
hex:"#37393e"
|
|
55063
55135
|
-
|
|
55064
55136
|
name:"October"
|
|
55065
55137
|
hex:"#c67533"
|
|
@@ -55242,7 +55314,7 @@
|
|
|
55242
55314
|
hex:"#f5e0ba"
|
|
55243
55315
|
-
|
|
55244
55316
|
name:"Okra"
|
|
55245
|
-
hex:"#
|
|
55317
|
+
hex:"#3e912d"
|
|
55246
55318
|
-
|
|
55247
55319
|
name:"Okroshka"
|
|
55248
55320
|
hex:"#40533d"
|
|
@@ -61699,6 +61771,9 @@
|
|
|
61699
61771
|
-
|
|
61700
61772
|
name:"Poisonous Apple"
|
|
61701
61773
|
hex:"#993333"
|
|
61774
|
+
-
|
|
61775
|
+
name:"Poisonous Cloud"
|
|
61776
|
+
hex:"#d3db39"
|
|
61702
61777
|
-
|
|
61703
61778
|
name:"Poisonous Dart"
|
|
61704
61779
|
hex:"#77ff66"
|
|
@@ -62626,6 +62701,9 @@
|
|
|
62626
62701
|
-
|
|
62627
62702
|
name:"Pragmatic"
|
|
62628
62703
|
hex:"#c2a593"
|
|
62704
|
+
-
|
|
62705
|
+
name:"Prairie"
|
|
62706
|
+
hex:"#0b9d6a"
|
|
62629
62707
|
-
|
|
62630
62708
|
name:"Prairie Clay"
|
|
62631
62709
|
hex:"#935444"
|
|
@@ -62716,6 +62794,9 @@
|
|
|
62716
62794
|
-
|
|
62717
62795
|
name:"Pre-Raphaelite"
|
|
62718
62796
|
hex:"#8b7f7a"
|
|
62797
|
+
-
|
|
62798
|
+
name:"Precious"
|
|
62799
|
+
hex:"#f1dab2"
|
|
62719
62800
|
-
|
|
62720
62801
|
name:"Precious Blue"
|
|
62721
62802
|
hex:"#008389"
|
|
@@ -63016,6 +63097,9 @@
|
|
|
63016
63097
|
-
|
|
63017
63098
|
name:"Princely Violet"
|
|
63018
63099
|
hex:"#6d5c7b"
|
|
63100
|
+
-
|
|
63101
|
+
name:"Princess"
|
|
63102
|
+
hex:"#f0a8b5"
|
|
63019
63103
|
-
|
|
63020
63104
|
name:"Princess Blue"
|
|
63021
63105
|
hex:"#0056a1"
|
|
@@ -63031,15 +63115,9 @@
|
|
|
63031
63115
|
-
|
|
63032
63116
|
name:"Princess Fairy Tale"
|
|
63033
63117
|
hex:"#e5dbeb"
|
|
63034
|
-
-
|
|
63035
|
-
name:"Princess Irene"
|
|
63036
|
-
hex:"#eadbde"
|
|
63037
63118
|
-
|
|
63038
63119
|
name:"Princess Ivory"
|
|
63039
63120
|
hex:"#faead5"
|
|
63040
|
-
-
|
|
63041
|
-
name:"Princess Kate"
|
|
63042
|
-
hex:"#6599a4"
|
|
63043
63121
|
-
|
|
63044
63122
|
name:"Princess Peach"
|
|
63045
63123
|
hex:"#f878f8"
|
|
@@ -63313,6 +63391,9 @@
|
|
|
63313
63391
|
-
|
|
63314
63392
|
name:"Puff Dragon"
|
|
63315
63393
|
hex:"#635940"
|
|
63394
|
+
-
|
|
63395
|
+
name:"Puff of Pink"
|
|
63396
|
+
hex:"#ffcbee"
|
|
63316
63397
|
-
|
|
63317
63398
|
name:"Puff Pastry Yellow"
|
|
63318
63399
|
hex:"#fccf8b"
|
|
@@ -65245,6 +65326,9 @@
|
|
|
65245
65326
|
-
|
|
65246
65327
|
name:"Rè Dài Chéng Orange"
|
|
65247
65328
|
hex:"#f08101"
|
|
65329
|
+
-
|
|
65330
|
+
name:"Re-Entry"
|
|
65331
|
+
hex:"#dd484e"
|
|
65248
65332
|
-
|
|
65249
65333
|
name:"Re-Entry Red"
|
|
65250
65334
|
hex:"#cd0317"
|
|
@@ -66801,7 +66885,7 @@
|
|
|
66801
66885
|
hex:"#8fa4d2"
|
|
66802
66886
|
-
|
|
66803
66887
|
name:"Ripasso"
|
|
66804
|
-
hex:"#
|
|
66888
|
+
hex:"#94312f"
|
|
66805
66889
|
-
|
|
66806
66890
|
name:"Ripe Berry"
|
|
66807
66891
|
hex:"#5c5666"
|
|
@@ -69730,6 +69814,9 @@
|
|
|
69730
69814
|
-
|
|
69731
69815
|
name:"Sanskrit"
|
|
69732
69816
|
hex:"#e69332"
|
|
69817
|
+
-
|
|
69818
|
+
name:"Santa Belly Red"
|
|
69819
|
+
hex:"#ad2c15"
|
|
69733
69820
|
-
|
|
69734
69821
|
name:"Santa Fe"
|
|
69735
69822
|
hex:"#b16d52"
|
|
@@ -73597,6 +73684,9 @@
|
|
|
73597
73684
|
-
|
|
73598
73685
|
name:"Smells of Fresh Bread"
|
|
73599
73686
|
hex:"#d7cecd"
|
|
73687
|
+
-
|
|
73688
|
+
name:"Smidgen of Love"
|
|
73689
|
+
hex:"#f0ccd9"
|
|
73600
73690
|
-
|
|
73601
73691
|
name:"Smiley Face"
|
|
73602
73692
|
hex:"#ffc962"
|
|
@@ -74704,6 +74794,9 @@
|
|
|
74704
74794
|
-
|
|
74705
74795
|
name:"Soothing Pink"
|
|
74706
74796
|
hex:"#f2e7de"
|
|
74797
|
+
-
|
|
74798
|
+
name:"Soothing Sapphire"
|
|
74799
|
+
hex:"#307dd3"
|
|
74707
74800
|
-
|
|
74708
74801
|
name:"Soothing Sea"
|
|
74709
74802
|
hex:"#bce6de"
|
|
@@ -74818,6 +74911,9 @@
|
|
|
74818
74911
|
-
|
|
74819
74912
|
name:"Sounds of Nature"
|
|
74820
74913
|
hex:"#dfe5d7"
|
|
74914
|
+
-
|
|
74915
|
+
name:"Sour"
|
|
74916
|
+
hex:"#e5edb5"
|
|
74821
74917
|
-
|
|
74822
74918
|
name:"Sour Apple"
|
|
74823
74919
|
hex:"#a0ac4f"
|
|
@@ -76975,6 +77071,9 @@
|
|
|
76975
77071
|
-
|
|
76976
77072
|
name:"Stormy Sunrise"
|
|
76977
77073
|
hex:"#c8a2c8"
|
|
77074
|
+
-
|
|
77075
|
+
name:"Stormy Waters"
|
|
77076
|
+
hex:"#84a9b0"
|
|
76978
77077
|
-
|
|
76979
77078
|
name:"Stormy Weather"
|
|
76980
77079
|
hex:"#63707b"
|
|
@@ -77386,6 +77485,9 @@
|
|
|
77386
77485
|
-
|
|
77387
77486
|
name:"Subtle Blue"
|
|
77388
77487
|
hex:"#d9e4e5"
|
|
77488
|
+
-
|
|
77489
|
+
name:"Subtle Breeze"
|
|
77490
|
+
hex:"#b5d2d8"
|
|
77389
77491
|
-
|
|
77390
77492
|
name:"Subtle Green"
|
|
77391
77493
|
hex:"#b5cbbb"
|
|
@@ -80017,6 +80119,9 @@
|
|
|
80017
80119
|
-
|
|
80018
80120
|
name:"Team Spirit"
|
|
80019
80121
|
hex:"#416986"
|
|
80122
|
+
-
|
|
80123
|
+
name:"Tear"
|
|
80124
|
+
hex:"#b5d8df"
|
|
80020
80125
|
-
|
|
80021
80126
|
name:"Teardrop"
|
|
80022
80127
|
hex:"#d1eaea"
|
|
@@ -80809,6 +80914,9 @@
|
|
|
80809
80914
|
-
|
|
80810
80915
|
name:"Thyme"
|
|
80811
80916
|
hex:"#50574c"
|
|
80917
|
+
-
|
|
80918
|
+
name:"Thyme and Place"
|
|
80919
|
+
hex:"#6f8770"
|
|
80812
80920
|
-
|
|
80813
80921
|
name:"Thyme and Salt"
|
|
80814
80922
|
hex:"#629a31"
|
|
@@ -85165,6 +85273,9 @@
|
|
|
85165
85273
|
-
|
|
85166
85274
|
name:"Violets Are Blue"
|
|
85167
85275
|
hex:"#7487c6"
|
|
85276
|
+
-
|
|
85277
|
+
name:"Violetta"
|
|
85278
|
+
hex:"#ac6b98"
|
|
85168
85279
|
-
|
|
85169
85280
|
name:"Violettuce"
|
|
85170
85281
|
hex:"#882055"
|
|
@@ -89068,6 +89179,9 @@
|
|
|
89068
89179
|
-
|
|
89069
89180
|
name:"Yearning Desire"
|
|
89070
89181
|
hex:"#ca135e"
|
|
89182
|
+
-
|
|
89183
|
+
name:"Yeast"
|
|
89184
|
+
hex:"#fae1ac"
|
|
89071
89185
|
-
|
|
89072
89186
|
name:"Yell for Yellow"
|
|
89073
89187
|
hex:"#fffe00"
|
|
@@ -89845,6 +89959,9 @@
|
|
|
89845
89959
|
-
|
|
89846
89960
|
name:"Zōng Hóng Red"
|
|
89847
89961
|
hex:"#ca6641"
|
|
89962
|
+
-
|
|
89963
|
+
name:"Zoodles"
|
|
89964
|
+
hex:"#b8bf71"
|
|
89848
89965
|
-
|
|
89849
89966
|
name:"Zoom"
|
|
89850
89967
|
hex:"#7b6c74"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "color-name-list",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "long list of color names",
|
|
5
5
|
"main": "dist/colornames.json",
|
|
6
6
|
"browser": "dist/colornames.umd.js",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"test": "node scripts/build.js --testOnly",
|
|
11
11
|
"clean-dist-folder": "rm -rf dist && mkdir dist",
|
|
12
12
|
"build": "npm run clean-dist-folder && node scripts/build.js",
|
|
13
|
-
"start": "node scripts/server.js",
|
|
14
13
|
"semantic-release": "semantic-release"
|
|
15
14
|
},
|
|
16
15
|
"repository": {
|
package/scripts/lib.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
const RGB_HEX = /^#?(?:([\da-f]{3})[\da-f]?|([\da-f]{6})(?:[\da-f]{2})?)$/i;
|
|
2
|
-
|
|
3
1
|
module.exports = {
|
|
4
2
|
/**
|
|
5
3
|
* takes a CSV string an parse it
|
|
@@ -88,112 +86,4 @@ module.exports = {
|
|
|
88
86
|
}).join(settings.itemDelimitor);
|
|
89
87
|
}).join(settings.rowDelimitor) + settings.insertAfter;
|
|
90
88
|
},
|
|
91
|
-
|
|
92
|
-
// return HSP luminance http://alienryderflex.com/hsp.html
|
|
93
|
-
luminance: (rgb) => (Math.sqrt(
|
|
94
|
-
Math.pow(0.299 * rgb.r, 2) +
|
|
95
|
-
Math.pow(0.587 * rgb.g, 2) +
|
|
96
|
-
Math.pow(0.114 * rgb.b, 2)
|
|
97
|
-
)),
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* disassembles a HEX color to its RGB components
|
|
101
|
-
* https: //gist.github.com/comficker/871d378c535854c1c460f7867a191a5a#gistcomment-2615849
|
|
102
|
-
* @param {string} hexSrt hex color representatin
|
|
103
|
-
* @return {object} {r,g,b}
|
|
104
|
-
*/
|
|
105
|
-
hexToRgb: (hexSrt) => {
|
|
106
|
-
const [, short, long] = String(hexSrt).match(RGB_HEX) || [];
|
|
107
|
-
|
|
108
|
-
if (long) {
|
|
109
|
-
const value = Number.parseInt(long, 16);
|
|
110
|
-
return {
|
|
111
|
-
r: value >> 16,
|
|
112
|
-
g: value >> 8 & 0xFF,
|
|
113
|
-
b: value & 0xFF,
|
|
114
|
-
};
|
|
115
|
-
} else if (short) {
|
|
116
|
-
const rgbArray = Array.from(short,
|
|
117
|
-
(s) => Number.parseInt(s, 16)
|
|
118
|
-
).map((n) => (n << 4) | n);
|
|
119
|
-
return {
|
|
120
|
-
r: rgbArray[0],
|
|
121
|
-
g: rgbArray[1],
|
|
122
|
-
b: rgbArray[2],
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Converts an RGB color value to HSL. Conversion formula
|
|
129
|
-
* adapted from http://en.wikipedia.org/wiki/HSL_color_space.
|
|
130
|
-
* Assumes r, g, and b are contained in the set [0, 255] and
|
|
131
|
-
* returns h, s, and l in the set [0, 1].
|
|
132
|
-
*
|
|
133
|
-
* @param {Number} r The red color value
|
|
134
|
-
* @param {Number} g The green color value
|
|
135
|
-
* @param {Number} b The blue color value
|
|
136
|
-
* @return {Object} The HSL representation
|
|
137
|
-
*/
|
|
138
|
-
rgbToHsl: (r, g, b) => {
|
|
139
|
-
r = r / 255;
|
|
140
|
-
g = g / 255;
|
|
141
|
-
b = b / 255;
|
|
142
|
-
|
|
143
|
-
const min = Math.min(r, g, b);
|
|
144
|
-
const max = Math.max(r, g, b);
|
|
145
|
-
const delta = max - min;
|
|
146
|
-
|
|
147
|
-
let h;
|
|
148
|
-
let s;
|
|
149
|
-
let l;
|
|
150
|
-
|
|
151
|
-
if (max === min) {
|
|
152
|
-
h = 0;
|
|
153
|
-
} else if (r === max) {
|
|
154
|
-
h = (g - b) / delta;
|
|
155
|
-
} else if (g === max) {
|
|
156
|
-
h = 2 + (b - r) / delta;
|
|
157
|
-
} else if (b === max) {
|
|
158
|
-
h = 4 + (r - g) / delta;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
h = Math.min(h * 60, 360);
|
|
162
|
-
|
|
163
|
-
if (h < 0) {
|
|
164
|
-
h += 360;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
l = (min + max) / 2;
|
|
168
|
-
|
|
169
|
-
if (max === min) {
|
|
170
|
-
s = 0;
|
|
171
|
-
} else if (l <= 0.5) {
|
|
172
|
-
s = delta / (max + min);
|
|
173
|
-
} else {
|
|
174
|
-
s = delta / (2 - max - min);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
s *= 100;
|
|
178
|
-
l *= 100;
|
|
179
|
-
return {
|
|
180
|
-
h,
|
|
181
|
-
s,
|
|
182
|
-
l,
|
|
183
|
-
};
|
|
184
|
-
},
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* calculates the distabce between two RGB colors
|
|
188
|
-
* @param {object} rgb1 object containing r,g and b properties
|
|
189
|
-
* @param {object} rgb2 object containing r,g and b properties
|
|
190
|
-
* @return {int} distance
|
|
191
|
-
*/
|
|
192
|
-
distance: (rgb1, rgb2) => (
|
|
193
|
-
Math.sqrt(
|
|
194
|
-
Math.pow(rgb1.r - rgb2.r, 2) +
|
|
195
|
-
Math.pow(rgb1.g - rgb2.g, 2) +
|
|
196
|
-
Math.pow(rgb1.b - rgb2.b, 2)
|
|
197
|
-
)
|
|
198
|
-
),
|
|
199
89
|
};
|