color-name-list 9.33.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 +14 -2
- 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 +56 -8
- package/dist/colornames.bestof.yaml +42 -6
- package/dist/colornames.csv +29 -7
- 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 +103 -15
- package/dist/colornames.yaml +78 -12
- package/package.json +1 -2
- package/scripts/lib.js +0 -110
- package/src/colornames.csv +32 -10
- package/scripts/server.js +0 -289
package/README.md
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
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
10
|
|
|
11
|
-
A handpicked list of
|
|
11
|
+
A handpicked list of __30000__ unique color names from
|
|
12
12
|
[various sources](#sources-) and thousands of curated user submissions.
|
|
13
13
|
|
|
14
14
|
> The names of color function like a thread attached to a frightfully slender
|
|
@@ -53,7 +53,7 @@ __[via form 🌈](https://docs.google.com/forms/d/e/1FAIpQLSfbS5D6owA4dQupJJ-6qh
|
|
|
53
53
|
|
|
54
54
|
Make sure to read the [naming rules](CONTRIBUTING.md) before you contribute!
|
|
55
55
|
|
|
56
|
-
## Color Count:
|
|
56
|
+
## Color Count: __30000__ 🎉
|
|
57
57
|
|
|
58
58
|
~__0.18%__ of the RGB color space
|
|
59
59
|
|
|
@@ -104,96 +104,24 @@ or `yarn add color-name-list`
|
|
|
104
104
|
|
|
105
105
|
### API 🃏
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
or
|
|
112
|
-
|
|
113
|
-
```url
|
|
114
|
-
https://api.color.pizza/v1/?values={{hexvalue without the #}},{{more comma separated values}}
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
#### Single Color
|
|
118
|
-
|
|
119
|
-
`curl` [https://api.color.pizza/v1/212121](https://api.color.pizza/v1/212121)
|
|
120
|
-
|
|
121
|
-
```javascript
|
|
122
|
-
{
|
|
123
|
-
"colors": [{
|
|
124
|
-
"name": "Lead",
|
|
125
|
-
"hex": "#212121",
|
|
126
|
-
"rgb": {"r": 33, "g": 33, "b": 33},
|
|
127
|
-
"distance": 0, // its an exact match
|
|
128
|
-
"luminance": 22.062320231562225,
|
|
129
|
-
"requestedHex": "#212121",
|
|
130
|
-
}]
|
|
131
|
-
}
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
#### Multiple Colors
|
|
135
|
-
|
|
136
|
-
`curl` [https://api.color.pizza/v1/212121,060606,ff0012,550055,123456](https://api.color.pizza/v1/212121,060606,ff0012,550055,123456)
|
|
137
|
-
or
|
|
138
|
-
`curl` [https://api.color.pizza/v1/?values=212121,060606,ff0012,550055,123456](https://api.color.pizza/v1/?values=212121,060606,ff0012,550055,123456)
|
|
139
|
-
|
|
140
|
-
#### All Named Colors
|
|
107
|
+
To make it easier to access the names, we offer a free and public Rest API that
|
|
108
|
+
allows you to access all the color names and names from other publicly available
|
|
109
|
+
name lists. You can find the full API code and documentation
|
|
110
|
+
[in this repository](https://github.com/meodai/color-name-api).
|
|
141
111
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
In this case colors is not an `object` but an `array` of `objects` sorted by color-name
|
|
145
|
-
|
|
146
|
-
#### Unique Color-Names
|
|
147
|
-
|
|
148
|
-
by adding `?noduplicates=true` every returned name will be unique.
|
|
149
|
-
The closest color, that was not returned previously will be returned:
|
|
150
|
-
`curl` [https://api.color.pizza/v1/?values=212121,212121&noduplicates=true](https://api.color.pizza/v1/?values=212121,212121&noduplicates=true)
|
|
151
|
-
|
|
152
|
-
```javascript
|
|
153
|
-
{
|
|
154
|
-
"colors": [{
|
|
155
|
-
"name": "Lead",
|
|
156
|
-
"hex": "#212121",
|
|
157
|
-
"rgb": { "r": 33, "g": 33, "b": 33 },
|
|
158
|
-
"luminance": 22.062320231562225
|
|
159
|
-
},{
|
|
160
|
-
"name": "Abaddon Black",
|
|
161
|
-
"hex": "#231f20",
|
|
162
|
-
"rgb": { "r": 35, "g": 31, "b": 32 },
|
|
163
|
-
"luminance": 21.30621829419759
|
|
164
|
-
}]
|
|
165
|
-
}
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
#### Search for colors by name
|
|
112
|
+
#### API Exaple Call Usage
|
|
169
113
|
|
|
170
114
|
```url
|
|
171
|
-
https://api.color.pizza/v1
|
|
115
|
+
https://api.color.pizza/v1/?values=00f,f00,f00&list=bestOf
|
|
172
116
|
```
|
|
173
117
|
|
|
174
|
-
or
|
|
175
|
-
|
|
176
|
-
```url
|
|
177
|
-
https://api.color.pizza/v1/names/?name={{query}}
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
Returns an `array` of color `objects` which match the given query, sorted by color-name:
|
|
181
|
-
`curl` [https://api.color.pizza/v1/names/red](https://api.color.pizza/v1/names/red)
|
|
182
|
-
|
|
183
|
-
#### Good Color-Names
|
|
184
|
-
|
|
185
|
-
Not all color-names are created equal; add [`?goodnamesonly=true`](https://api.color.pizza/v1/?values=212121,060606,ff0012,550055,123456&goodnamesonly=true)
|
|
186
|
-
to your request URL to get a handpicked subset of names that were rated as good
|
|
187
|
-
by humans. (Colors that are liked a lot on [twitter](https://twitter.com/color_parrot)
|
|
188
|
-
and some of the team favourites).
|
|
189
|
-
|
|
190
118
|
#### API Disclaimer
|
|
191
119
|
|
|
192
120
|
The API is free to use and has no limitations. But if your app/site is commercial
|
|
193
121
|
and causes excessive traffic, I might contact you to become a sponsor.
|
|
194
122
|
|
|
195
123
|
Feel free to deploy it yourself, it is very easy to host/deploy on heroku and
|
|
196
|
-
has no dependencies [
|
|
124
|
+
has no dependencies [Color-Name-API](https://github.com/meodai/color-name-api)
|
|
197
125
|
|
|
198
126
|
### Usage JS ⌨
|
|
199
127
|
|
|
@@ -304,6 +232,7 @@ See [package.json](package.json#L6) for more.
|
|
|
304
232
|
|
|
305
233
|
- [neverything] 25USD/month
|
|
306
234
|
- [Dmitry Iv.] 10USD/month
|
|
235
|
+
- [colorkit.co] 10USD/month
|
|
307
236
|
|
|
308
237
|
#### Bronze
|
|
309
238
|
|
|
@@ -355,7 +284,12 @@ See [package.json](package.json#L6) for more.
|
|
|
355
284
|
|
|
356
285
|
## Disclaimer 👮🏾
|
|
357
286
|
|
|
358
|
-
In an effort to create a more inclusive and respectful environment, we strive to
|
|
287
|
+
In an effort to create a more inclusive and respectful environment, we strive to
|
|
288
|
+
remove all offensive and racist names, as well as protected brand names,
|
|
289
|
+
from our list. While we do our best to screen out such names, some may still
|
|
290
|
+
slip through. If you come across any such names, please
|
|
291
|
+
[let us know](https://github.com/meodai/color-names/issues/new?title=Bad%20color%20name)
|
|
292
|
+
so that we can remove them promptly.
|
|
359
293
|
|
|
360
294
|
## Latest Color Names 🔖
|
|
361
295
|
|
|
@@ -406,6 +340,7 @@ In an effort to create a more inclusive and respectful environment, we strive to
|
|
|
406
340
|
[BlueChaos]: https://www.instagram.com/bluechaos1811/
|
|
407
341
|
[Dmitry Iv.]: https://github.com/dy
|
|
408
342
|
[neverything]: https://neverything.me/
|
|
343
|
+
[colorkit.co]: https://colorkit.co/
|
|
409
344
|
[Myriam Aerne]: https://fynoeggeli.ch/
|
|
410
345
|
[nachtfunke]: https://helloyes.dev
|
|
411
346
|
[amin]: http://www.slashui.com
|
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 2110">
|
|
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="2110"/>
|
|
13
|
+
<text x="40" y="90" fill="#79b4ce">Alpine Sky</text><text x="40" y="160" fill="#444b43">Ancient Pine</text><text x="40" y="230" fill="#37393e">Artist's Charcoal</text><text x="40" y="300" fill="#666a47">Bancha</text><text x="40" y="370" fill="#829e2c">Bruni Green</text><text x="40" y="440" fill="#868929">Buffy Citrine</text><text x="40" y="510" fill="#9d2933">Cochineal Red</text><text x="40" y="580" fill="#30a877">Cosmic Green</text><text x="40" y="650" fill="#1a5a4e">Country Meadow</text><text x="40" y="720" fill="#d94b28">Crab Curry</text><text x="40" y="790" fill="#8e6e57">Dig It</text><text x="40" y="860" fill="#78944a">Emerald Shimmer</text><text x="40" y="930" fill="#889977">Fallout Grey</text><text x="40" y="1000" fill="#dad9ce">Feather</text><text x="40" y="1070" fill="#daa826">Fine Gold</text><text x="40" y="1140" fill="#e9c180">Freshly Baked</text><text x="40" y="1210" fill="#a5ce8f">Gentle Landscape</text><text x="40" y="1280" fill="#499674">Good Luck</text><text x="40" y="1350" fill="#86c994">Good Luck Charm</text><text x="40" y="1420" fill="#b2cc9a">Greenhorn</text><text x="40" y="1490" fill="#444b4a">Moonless Sky</text><text x="40" y="1560" fill="#253a91">Navy Seal</text><text x="40" y="1630" fill="#3e912d">Okra</text><text x="40" y="1700" fill="#d3db39">Poisonous Cloud</text><text x="40" y="1770" fill="#0b9d6a">Prairie</text><text x="40" y="1840" fill="#ffcbee">Puff of Pink</text><text x="40" y="1910" fill="#ad2c15">Santa Belly Red</text><text x="40" y="1980" fill="#f0ccd9">Smidgen of Love</text><text x="40" y="2050" fill="#b5d2d8">Subtle Breeze</text>
|
|
14
14
|
</svg>
|
|
@@ -56,6 +56,7 @@ Amora Purple,#bb22aa
|
|
|
56
56
|
Amore,#ae2f48
|
|
57
57
|
Anarchist,#db304a
|
|
58
58
|
Anchovy,#756f6b
|
|
59
|
+
Ancient Pine,#444b43
|
|
59
60
|
Ancient Scroll,#f0e4d1
|
|
60
61
|
Andromeda Blue,#abcdee
|
|
61
62
|
Angel Wing,#f3dfd7
|
|
@@ -113,6 +114,7 @@ Around the Gills,#a1b670
|
|
|
113
114
|
Arrowwood,#b3861e
|
|
114
115
|
Artichoke,#8f9779
|
|
115
116
|
Artisans Gold,#f2ab46
|
|
117
|
+
Artist's Charcoal,#37393e
|
|
116
118
|
Arugula,#75ad5b
|
|
117
119
|
Ash,#bebaa7
|
|
118
120
|
Ashes to Ashes,#bbb3a2
|
|
@@ -183,6 +185,7 @@ Banana Pepper,#fdd630
|
|
|
183
185
|
Banana Propaganda,#f3db00
|
|
184
186
|
Banana Republic,#ffe292
|
|
185
187
|
Banana Split,#f7eec8
|
|
188
|
+
Bancha,#666a47
|
|
186
189
|
Bangalore,#bbaa88
|
|
187
190
|
Bank Vault,#757374
|
|
188
191
|
Banner Gold,#a28557
|
|
@@ -494,7 +497,6 @@ Cabbage,#87d7be
|
|
|
494
497
|
Cacao Nibs,#80442f
|
|
495
498
|
Cacodemon Red,#9f0000
|
|
496
499
|
Cactus,#5b6f55
|
|
497
|
-
Cactus Spike,#c1e0a3
|
|
498
500
|
Cadillac Coupe,#c0362c
|
|
499
501
|
Caduceus Staff,#eedd22
|
|
500
502
|
Café au Lait,#a57c5b
|
|
@@ -586,6 +588,7 @@ Catacomb Walls,#dbd7d0
|
|
|
586
588
|
Catfish,#657d82
|
|
587
589
|
Cathedral,#acaaa7
|
|
588
590
|
Cathode Green,#00ff55
|
|
591
|
+
Catnip,#80aa95
|
|
589
592
|
Cauliflower,#ebe5d0
|
|
590
593
|
Caveman,#625c58
|
|
591
594
|
Caviar,#2b2c30
|
|
@@ -783,6 +786,7 @@ Cortex,#a99592
|
|
|
783
786
|
Cosmic,#b8b9cb
|
|
784
787
|
Cosmic Bit Flip,#001000
|
|
785
788
|
Cosmic Explorer,#551155
|
|
789
|
+
Cosmic Green,#30a877
|
|
786
790
|
Cosmic Heart,#9601f4
|
|
787
791
|
Cosmic Latte,#fff8e7
|
|
788
792
|
Cotinga Purple,#340059
|
|
@@ -1202,6 +1206,7 @@ Fatty Fuchsia,#ee0077
|
|
|
1202
1206
|
Fatty Sashimi,#eec4b4
|
|
1203
1207
|
Fawn,#cfaf7b
|
|
1204
1208
|
Feasty Fuchsia,#ee0088
|
|
1209
|
+
Feather,#dad9ce
|
|
1205
1210
|
Featherbed,#afcbe5
|
|
1206
1211
|
Federation of Love,#b71010
|
|
1207
1212
|
Fedora,#625665
|
|
@@ -1350,6 +1355,7 @@ French Blue,#0072bb
|
|
|
1350
1355
|
French Fry,#ebc263
|
|
1351
1356
|
French Oak,#bb9e7c
|
|
1352
1357
|
French Porcelain,#f6f4f6
|
|
1358
|
+
French Vanilla,#efe1a7
|
|
1353
1359
|
French Wine,#ac1e44
|
|
1354
1360
|
French Winery,#991133
|
|
1355
1361
|
Fresco,#f4dbd9
|
|
@@ -1359,6 +1365,7 @@ Fresh Breeze,#beeddc
|
|
|
1359
1365
|
Fresh Cut Grass,#91cb7d
|
|
1360
1366
|
Fresh Gum,#ffaadd
|
|
1361
1367
|
Fresh Snow,#f6efe1
|
|
1368
|
+
Freshly Baked,#e9c180
|
|
1362
1369
|
Freshly Purpleized,#5c5083
|
|
1363
1370
|
Freshly Roasted Coffee,#663322
|
|
1364
1371
|
Fricassée,#ffe6c2
|
|
@@ -1534,7 +1541,6 @@ Goldilocks,#fff39a
|
|
|
1534
1541
|
Golem,#836e59
|
|
1535
1542
|
Golf Course,#5a9e4b
|
|
1536
1543
|
Good Karma,#333c76
|
|
1537
|
-
Good Luck,#86c994
|
|
1538
1544
|
Good Morning,#fcfcda
|
|
1539
1545
|
Good Night!,#46565f
|
|
1540
1546
|
Goose Bill,#ffba80
|
|
@@ -1598,6 +1604,7 @@ Green Thumb,#779900
|
|
|
1598
1604
|
Green Venom,#b8f818
|
|
1599
1605
|
Green With Envy,#22bb33
|
|
1600
1606
|
Greenfinch,#bda928
|
|
1607
|
+
Greenhorn,#b2cc9a
|
|
1601
1608
|
Greenhouse,#3e6334
|
|
1602
1609
|
Greenivorous,#cae03b
|
|
1603
1610
|
Gremlin,#a79954
|
|
@@ -2523,6 +2530,7 @@ Moonbeam,#c2b8ae
|
|
|
2523
2530
|
Moondance,#e5decc
|
|
2524
2531
|
Moonless Mystery,#1e2433
|
|
2525
2532
|
Moonless Night,#3c393d
|
|
2533
|
+
Moonless Sky,#444b4a
|
|
2526
2534
|
Moonlight,#f6eed5
|
|
2527
2535
|
Moonlight Mauve,#ca83a7
|
|
2528
2536
|
Moonlit Forest,#3e6d6a
|
|
@@ -3147,6 +3155,7 @@ Potato Chip,#fddc57
|
|
|
3147
3155
|
Powder Blush,#d8948b
|
|
3148
3156
|
Powder Puff,#ffeff3
|
|
3149
3157
|
Powdered,#f9f2e7
|
|
3158
|
+
Prairie,#0b9d6a
|
|
3150
3159
|
Prairie Land,#e2cc9c
|
|
3151
3160
|
Prairie Winds,#e8e6d9
|
|
3152
3161
|
Praise the Sun,#f3f4d9
|
|
@@ -3185,6 +3194,7 @@ Prune,#701c11
|
|
|
3185
3194
|
Prunella,#864788
|
|
3186
3195
|
Psychedelic Purple,#dd00ff
|
|
3187
3196
|
Pucker Up,#ff1177
|
|
3197
|
+
Puff of Pink,#ffcbee
|
|
3188
3198
|
Puffy Cloud,#d2def2
|
|
3189
3199
|
Puffy Pillow,#e8e5de
|
|
3190
3200
|
Pulp,#e18289
|
|
@@ -3571,6 +3581,7 @@ Smalt,#003399
|
|
|
3571
3581
|
Smashing Pumpkins,#ff5522
|
|
3572
3582
|
Smell of Garlic,#d9ddcb
|
|
3573
3583
|
Smell the Mint,#bef7cf
|
|
3584
|
+
Smidgen of Love,#f0ccd9
|
|
3574
3585
|
Smiley Face,#ffc962
|
|
3575
3586
|
Smoke and Mirrors,#d9e6e8
|
|
3576
3587
|
Smoke Dragon,#ccbbaa
|
|
@@ -3716,6 +3727,7 @@ Stroopwafel,#a86f48
|
|
|
3716
3727
|
Submerged,#4a7d82
|
|
3717
3728
|
Subnautical,#012253
|
|
3718
3729
|
Subterrain Kingdom,#4f4e4a
|
|
3730
|
+
Subtle Breeze,#b5d2d8
|
|
3719
3731
|
Succubus,#990022
|
|
3720
3732
|
Succulent,#8ba477
|
|
3721
3733
|
Succulent Lime,#dcdd65
|