color-name-list 10.0.1 → 10.2.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 +13 -21
- package/changes.svg +3 -3
- package/dist/colornames.bestof.csv +18 -1
- 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 +69 -1
- package/dist/colornames.bestof.yaml +52 -1
- package/dist/colornames.csv +42 -9
- 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 +156 -24
- package/dist/colornames.yaml +118 -19
- package/package.json +1 -1
- package/scripts/build.js +13 -2
- package/src/colornames.csv +43 -10
package/README.md
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
<img align="left" height="119" width="119" src="https://meodai.github.io/color-names/logo/cockatoo-fill.svg">
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Color Names
|
|
4
4
|
|
|
5
5
|
[](https://github.com/meodai/color-names/actions)
|
|
6
6
|
[](https://github.com/meodai/color-names/)
|
|
7
7
|
[](https://www.npmjs.com/package/color-name-list)
|
|
8
8
|
[](https://www.npmjs.com/package/color-name-list)
|
|
9
|
-
[](https://github.com/meodai/color-names/blob/master/src/colornames.csv)
|
|
10
|
+
[](https://github.com/sponsors/meodai)
|
|
10
11
|
|
|
11
|
-
A handpicked list of
|
|
12
|
+
A handpicked list of __30033__ unique color names from
|
|
12
13
|
[various sources](#sources-) and thousands of curated user submissions.
|
|
13
14
|
|
|
14
15
|
> The names of color function like a thread attached to a frightfully slender
|
|
@@ -53,7 +54,7 @@ __[via form 🌈](https://docs.google.com/forms/d/e/1FAIpQLSfbS5D6owA4dQupJJ-6qh
|
|
|
53
54
|
|
|
54
55
|
Make sure to read the [naming rules](CONTRIBUTING.md) before you contribute!
|
|
55
56
|
|
|
56
|
-
## Color Count:
|
|
57
|
+
## Color Count: __30033__ 🎉
|
|
57
58
|
|
|
58
59
|
~__0.18%__ of the RGB color space
|
|
59
60
|
|
|
@@ -71,6 +72,9 @@ colors evenly in the color space: [Visualization](https://codepen.io/meodai/full
|
|
|
71
72
|
|
|
72
73
|
### Node.js Installation 📦
|
|
73
74
|
|
|
75
|
+
__Size Warning (1.14 MB)__: If you are doing this in the browser,
|
|
76
|
+
consider using the [public rest API](#api-)
|
|
77
|
+
|
|
74
78
|
```shell
|
|
75
79
|
npm install color-name-list --save
|
|
76
80
|
```
|
|
@@ -125,6 +129,9 @@ has no dependencies [Color-Name-API](https://github.com/meodai/color-name-api)
|
|
|
125
129
|
|
|
126
130
|
### Usage JS ⌨
|
|
127
131
|
|
|
132
|
+
__Size Warning (1.14 MB)__: If you are doing this in the browser,
|
|
133
|
+
consider using the [public rest API](#api-)
|
|
134
|
+
|
|
128
135
|
#### Exact Color
|
|
129
136
|
|
|
130
137
|
```javascript
|
|
@@ -155,11 +162,8 @@ const nearest = nearestColor.from(colors);
|
|
|
155
162
|
nearest('#f1c1d1'); // => Fairy Tale
|
|
156
163
|
```
|
|
157
164
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
__Note__: If you are looking for something visually more accurate, you could:
|
|
161
|
-
use [DeltaE], or use the above snippet, combined with a transform from rgb to
|
|
162
|
-
[ciecam02] scaled to 0-255.
|
|
165
|
+
__Note__: If you are looking for something visually more accurate, you could
|
|
166
|
+
use [DeltaE] or use the above snippet, but using [ciecam02] instead of RGB.
|
|
163
167
|
|
|
164
168
|
[DeltaE]: https://github.com/zschuessler/DeltaE
|
|
165
169
|
[ciecam02]: https://github.com/baskerville/ciecam02
|
|
@@ -207,12 +211,6 @@ See [package.json](package.json#L6) for more.
|
|
|
207
211
|
and [Nathan Kjer](https://nathankjer.com/text-generation/)
|
|
208
212
|
- [Team Fortress 2 paint colors](https://wiki.teamfortress.com/wiki/Paint_Can#Colors)
|
|
209
213
|
|
|
210
|
-
### Sources: Color 🎨
|
|
211
|
-
|
|
212
|
-
- [12-Bit & 8-Bit color palettes]
|
|
213
|
-
- [Pico-8 color palette]
|
|
214
|
-
- [Some Android Arts palettes]
|
|
215
|
-
|
|
216
214
|
## Contributors 🦑
|
|
217
215
|
|
|
218
216
|
- [meodai] Initiator, maintainer, name creator &, tooling
|
|
@@ -366,10 +364,4 @@ so that we can remove them promptly.
|
|
|
366
364
|
[Wada Sanzo's list of named colors]: https://sanzo-wada.dmbk.io/
|
|
367
365
|
[xkcd color survey list]: https://blog.xkcd.com/2010/05/03/color-survey-results/
|
|
368
366
|
|
|
369
|
-
<!-- Sources: Color -->
|
|
370
|
-
|
|
371
|
-
[12-Bit & 8-Bit color palettes]: https://en.wikipedia.org/wiki/List_of_color_palettes
|
|
372
|
-
[Pico-8 color palette]: https://www.lexaloffle.com/bbs/?tid=2101
|
|
373
|
-
[Some Android Arts palettes]: http://androidarts.com/palette/
|
|
374
|
-
|
|
375
367
|
<!-- EOF -->
|
package/changes.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 1900">
|
|
2
2
|
<defs>
|
|
3
3
|
<style type="text/css">
|
|
4
4
|
@import url('https://rsms.me/inter/inter.css');
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
}
|
|
10
10
|
</style>
|
|
11
11
|
</defs>
|
|
12
|
-
<rect fill="#212121" x="0" y="0" width="600" height="
|
|
13
|
-
<text x="40" y="90" fill="#
|
|
12
|
+
<rect fill="#212121" x="0" y="0" width="600" height="1900"/>
|
|
13
|
+
<text x="40" y="90" fill="#cba874">Balsam Brown</text><text x="40" y="160" fill="#120d07">Balsam of Peru</text><text x="40" y="230" fill="#8b031c">Barbera</text><text x="40" y="300" fill="#71000e">Barolo</text><text x="40" y="370" fill="#989998">Basalt</text><text x="40" y="440" fill="#8da936">Beautiful Mint</text><text x="40" y="510" fill="#efcedc">Berry Butter</text><text x="40" y="580" fill="#2e85b1">Blue Splash</text><text x="40" y="650" fill="#005f7a">Blue-Collar Worker</text><text x="40" y="720" fill="#dbbc4b">Buried Gold</text><text x="40" y="790" fill="#fbe98e">Chickery Chick</text><text x="40" y="860" fill="#7c787b">Cinder Fox</text><text x="40" y="930" fill="#908c53">Cornus Green</text><text x="40" y="1000" fill="#4a2d2f">Dark Roast</text><text x="40" y="1070" fill="#747a64">Earl Green</text><text x="40" y="1140" fill="#91979f">Grisaille</text><text x="40" y="1210" fill="#f5dab3">Lion's Roar</text><text x="40" y="1280" fill="#bcc3c7">Metallic</text><text x="40" y="1350" fill="#448ee4">Oregon Blue</text><text x="40" y="1420" fill="#f2e5b1">Oyster Bisque</text><text x="40" y="1490" fill="#e44e4d">Red Arremer</text><text x="40" y="1560" fill="#b2e191">Sage Sensation</text><text x="40" y="1630" fill="#bb2d32">Scarlet Beebalm</text><text x="40" y="1700" fill="#c1ccd6">Siberian Ice</text><text x="40" y="1770" fill="#807f4a">Terrapin</text><text x="40" y="1840" fill="#53b1ba">Thalassa</text>
|
|
14
14
|
</svg>
|
|
@@ -192,8 +192,10 @@ Banner Gold,#a28557
|
|
|
192
192
|
Barbara,#ff0ff3
|
|
193
193
|
Barbarossa,#a84734
|
|
194
194
|
Barbecue,#c26157
|
|
195
|
+
Barbera,#8b031c
|
|
195
196
|
Barberry,#ee1133
|
|
196
197
|
Bark,#5f5854
|
|
198
|
+
Barolo,#71000e
|
|
197
199
|
Barrel Aged,#8b6945
|
|
198
200
|
Basil,#879f84
|
|
199
201
|
Basil Smash,#b7e1a1
|
|
@@ -249,6 +251,7 @@ Bermuda Grass,#a19f79
|
|
|
249
251
|
Bermuda Onion,#9d5a8f
|
|
250
252
|
Berries n Cream,#f2b8ca
|
|
251
253
|
Berry,#990f4b
|
|
254
|
+
Berry Butter,#efcedc
|
|
252
255
|
Berry Good,#edc3c5
|
|
253
256
|
Berry Jam,#655883
|
|
254
257
|
Berrylicious,#d75e6c
|
|
@@ -460,6 +463,7 @@ Bulma Hair,#359e6b
|
|
|
460
463
|
Bumblebee,#ffc82a
|
|
461
464
|
Bunny Tail,#ffe3f4
|
|
462
465
|
Bureaucracy,#746c8f
|
|
466
|
+
Buried Gold,#dbbc4b
|
|
463
467
|
Burning Fireflies,#ff1166
|
|
464
468
|
Burning Flame,#ffb162
|
|
465
469
|
Burning Orange,#ff7124
|
|
@@ -652,10 +656,12 @@ Chewing Gum,#e6b0af
|
|
|
652
656
|
Chickadee,#ffcf65
|
|
653
657
|
Chicken Comb,#dd2222
|
|
654
658
|
Chicken Masala,#cc8822
|
|
659
|
+
Chickery Chick,#fbe98e
|
|
655
660
|
Child of the Night,#220077
|
|
656
661
|
Chili Con Carne,#985e2b
|
|
657
662
|
Chili Crab,#e93a0e
|
|
658
663
|
Chili Pepper,#ac1e3a
|
|
664
|
+
Chill of the Night,#256d8d
|
|
659
665
|
Chimera,#74626d
|
|
660
666
|
China Silk,#e3d1cc
|
|
661
667
|
Chinese New Year,#ff3366
|
|
@@ -789,6 +795,7 @@ Cosmic Explorer,#551155
|
|
|
789
795
|
Cosmic Green,#30a877
|
|
790
796
|
Cosmic Heart,#9601f4
|
|
791
797
|
Cosmic Latte,#fff8e7
|
|
798
|
+
Cosmic Red,#da244b
|
|
792
799
|
Cotinga Purple,#340059
|
|
793
800
|
Cotton Ball,#f2f7fd
|
|
794
801
|
Cotton Boll,#e7effb
|
|
@@ -906,6 +913,7 @@ Dark Prince,#6b6c89
|
|
|
906
913
|
Dark Purple,#35063e
|
|
907
914
|
Dark Red,#840000
|
|
908
915
|
Dark Rift,#060b14
|
|
916
|
+
Dark Roast,#4a2d2f
|
|
909
917
|
Dark Rum,#45362b
|
|
910
918
|
Dark Salmon Injustice,#e8957a
|
|
911
919
|
Dark Sanctuary,#3f012c
|
|
@@ -1422,6 +1430,7 @@ Galactic Civilization,#442288
|
|
|
1422
1430
|
Galactic Cruise,#111188
|
|
1423
1431
|
Galactic Federation,#330077
|
|
1424
1432
|
Galactic Highway,#3311bb
|
|
1433
|
+
Galactic Purple,#472e97
|
|
1425
1434
|
Galaxea,#2e305e
|
|
1426
1435
|
Galaxy Blue,#2d5284
|
|
1427
1436
|
Galaxy Express,#444499
|
|
@@ -1621,6 +1630,7 @@ Grilled,#633f2e
|
|
|
1621
1630
|
Grilled Tomato,#af3519
|
|
1622
1631
|
Grim Grey,#e3dcd6
|
|
1623
1632
|
Grim White,#f6f1f4
|
|
1633
|
+
Grisaille,#91979f
|
|
1624
1634
|
Grizzly,#885818
|
|
1625
1635
|
Groovy Giraffe,#eeaa11
|
|
1626
1636
|
Groovy Lemon Pie,#d6be01
|
|
@@ -2173,6 +2183,7 @@ Lingering Storm,#858381
|
|
|
2173
2183
|
Link to the Past,#d2b48c
|
|
2174
2184
|
Lion,#c19a62
|
|
2175
2185
|
Lion King,#dd9933
|
|
2186
|
+
Lion's Roar,#f5dab3
|
|
2176
2187
|
Lionheart,#cc2222
|
|
2177
2188
|
Lip Gloss,#dfcdc7
|
|
2178
2189
|
Lipstick,#c95b83
|
|
@@ -2243,6 +2254,7 @@ Luna,#d4d8ce
|
|
|
2243
2254
|
Lunar Base,#878786
|
|
2244
2255
|
Lunar Landing,#d2cfc1
|
|
2245
2256
|
Lunar Light,#9b959c
|
|
2257
|
+
Lunar Luxury,#fbf4d6
|
|
2246
2258
|
Lunar Outpost,#828287
|
|
2247
2259
|
Lunatic Lynx,#ddaa88
|
|
2248
2260
|
Lurid Lettuce,#b4f319
|
|
@@ -2431,6 +2443,7 @@ Mermaid's Kiss,#59c8a5
|
|
|
2431
2443
|
Metal,#babfbc
|
|
2432
2444
|
Metal Gear,#a2c3db
|
|
2433
2445
|
Metal Petal,#b090b2
|
|
2446
|
+
Metallic,#bcc3c7
|
|
2434
2447
|
Meteor,#bb7431
|
|
2435
2448
|
Meteor Shower,#5533ff
|
|
2436
2449
|
Meteorite,#4a3b6a
|
|
@@ -3282,6 +3295,7 @@ Realm of the Underworld,#114411
|
|
|
3282
3295
|
Rebellion Red,#cc0404
|
|
3283
3296
|
Red,#ff0000
|
|
3284
3297
|
Red Alert,#ff0f0f
|
|
3298
|
+
Red Arremer,#e44e4d
|
|
3285
3299
|
Red Baron,#bb0011
|
|
3286
3300
|
Red Carpet,#bc2026
|
|
3287
3301
|
Red Cent,#ad654c
|
|
@@ -3358,6 +3372,7 @@ Royal Neptune,#1c3b42
|
|
|
3358
3372
|
Royal Night,#2b3191
|
|
3359
3373
|
Royal Plum,#654161
|
|
3360
3374
|
Royal Purpleness,#881177
|
|
3375
|
+
Royal Robe,#614a7b
|
|
3361
3376
|
Royal Star,#fede4f
|
|
3362
3377
|
Royalty,#5930a9
|
|
3363
3378
|
Rubber Ducky,#facf58
|
|
@@ -3386,6 +3401,7 @@ Safflower,#fdae44
|
|
|
3386
3401
|
Saffron,#f4c430
|
|
3387
3402
|
Saffron Desires,#c24359
|
|
3388
3403
|
Sage,#87ae73
|
|
3404
|
+
Sage Sensation,#b2e191
|
|
3389
3405
|
Sail into the Horizon,#a3bbdc
|
|
3390
3406
|
Sail On,#4575ad
|
|
3391
3407
|
Sail to the Sea,#99c3f0
|
|
@@ -3837,6 +3853,7 @@ Terrestrial,#276757
|
|
|
3837
3853
|
Testosterose,#ddaaff
|
|
3838
3854
|
Thai Chili,#ce0001
|
|
3839
3855
|
Thai Hot,#fe1c06
|
|
3856
|
+
Thalassa,#53b1ba
|
|
3840
3857
|
Thalassophile,#44aadd
|
|
3841
3858
|
The Count's Black,#102030
|
|
3842
3859
|
The Devil's Grass,#666420
|
|
@@ -3935,7 +3952,7 @@ Trumpet Gold,#e9b413
|
|
|
3935
3952
|
Tulip,#ff878d
|
|
3936
3953
|
Tuna,#46494e
|
|
3937
3954
|
Tunic Green,#00cc00
|
|
3938
|
-
Turf,#
|
|
3955
|
+
Turf,#415b36
|
|
3939
3956
|
Turf Master,#009922
|
|
3940
3957
|
Turkish Jade,#2b888d
|
|
3941
3958
|
Turquoise,#06c2ac
|