color-name-list 13.21.0 → 13.23.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 +53 -11
- package/changes.svg +3 -3
- package/dist/colornames.bestof.csv +6 -0
- 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.toon +7 -1
- package/dist/colornames.bestof.umd.js +1 -1
- package/dist/colornames.bestof.xml +24 -0
- package/dist/colornames.bestof.yaml +18 -0
- package/dist/colornames.csv +8 -1
- 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.short.csv +4 -0
- package/dist/colornames.short.esm.js +1 -1
- package/dist/colornames.short.esm.mjs +1 -1
- package/dist/colornames.short.html +1 -1
- package/dist/colornames.short.json +1 -1
- package/dist/colornames.short.min.json +1 -1
- package/dist/colornames.short.scss +1 -1
- package/dist/colornames.short.toon +5 -1
- package/dist/colornames.short.umd.js +1 -1
- package/dist/colornames.short.xml +16 -0
- package/dist/colornames.short.yaml +12 -0
- package/dist/colornames.toon +9 -2
- package/dist/colornames.umd.js +1 -1
- package/dist/colornames.xml +32 -4
- package/dist/colornames.yaml +24 -3
- package/dist/history.json +1 -1
- package/package.json +1 -1
- package/src/colornames.csv +8 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
[](https://www.npmjs.com/package/color-name-list)
|
|
14
14
|
[](https://github.com/sponsors/meodai)
|
|
15
15
|
|
|
16
|
-
A meticulously curated collection of
|
|
16
|
+
A meticulously curated collection of __30000__ unique color names, built from
|
|
17
17
|
[many sources](#sources-) and thousands of community contributions.
|
|
18
18
|
|
|
19
19
|
> The names of color function like a thread attached to a frightfully slender
|
|
@@ -39,7 +39,7 @@ while maintaining high standards for name quality. We have merged numerous
|
|
|
39
39
|
[lists](#sources-), resolved duplicate names with different hex values,
|
|
40
40
|
and adjusted colors where identical values had different names.
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
### A List Apart 🌟
|
|
43
43
|
|
|
44
44
|
Unlike many other color lists, this collection has a
|
|
45
45
|
[__permissive license__](LICENSE), is __strictly__ curated, and
|
|
@@ -54,14 +54,29 @@ Unlike many other color lists, this collection has a
|
|
|
54
54
|
articles, normalized "and" forms, and proper apostrophes.
|
|
55
55
|
- __Valid, unique data__ ✅: Every entry has a valid hex code, no stray
|
|
56
56
|
whitespace, and no duplicate names or values.
|
|
57
|
-
- __Grown by a global community__ 🌍:
|
|
57
|
+
- __Grown by a global community__ 🌍: Hundredths of contributors keep the
|
|
58
58
|
list fresh, weird, poetic, and alive.
|
|
59
|
-
- __Humanly curated__ 🧠:
|
|
60
|
-
|
|
61
|
-
- __Open and permissive__ 🪪: Free to use, remix, fork, and build
|
|
62
|
-
|
|
59
|
+
- __Humanly curated__ 🧠: Human curators review and shape every entry, and we
|
|
60
|
+
discourage AI‑generated names so the list stays intentional and playful.
|
|
61
|
+
- __Open and permissive__ 🪪: Free to use, remix, fork, and build upon.
|
|
62
|
+
Released under the MIT License, requiring only simple attribution.
|
|
63
63
|
- __Inclusive naming__ 🤝: Slurs, hate speech, and protected brand names are
|
|
64
64
|
not accepted.
|
|
65
|
+
- __AI‑ready__ 🤖: High‑quality, human‑made names and rich [file formats](#cdn-)
|
|
66
|
+
make the list well‑suited for training AI models.
|
|
67
|
+
|
|
68
|
+
### Name Lists 🧺
|
|
69
|
+
|
|
70
|
+
This repository ships multiple curated lists:
|
|
71
|
+
|
|
72
|
+
- __Full list__: The full collection, including many names merged from
|
|
73
|
+
historical and external sources. It’s exhaustive and great for exploration,
|
|
74
|
+
data viz, and long‑tail use cases.
|
|
75
|
+
- __Best of__: A hand‑picked subset of especially playful, evocative, or
|
|
76
|
+
well‑crafted names, chosen by human curators. Ideal when you want fewer,
|
|
77
|
+
higher‑signal options.
|
|
78
|
+
- __Short names__: A smaller set of concise names (typically one word or very
|
|
79
|
+
short phrases), useful where space is limited or brevity matters.
|
|
65
80
|
|
|
66
81
|
## Usage 📖
|
|
67
82
|
|
|
@@ -116,7 +131,7 @@ and ensure tests pass locally (`npm test`).
|
|
|
116
131
|
See the full guidelines in [CONTRIBUTING.md](CONTRIBUTING.md) for naming
|
|
117
132
|
rules, capitalization, CI behavior, and more.
|
|
118
133
|
|
|
119
|
-
## Color Count:
|
|
134
|
+
## Color Count: __30000__ 🎉
|
|
120
135
|
|
|
121
136
|
~__0.18%__ of the RGB color space
|
|
122
137
|
|
|
@@ -138,12 +153,15 @@ your project.
|
|
|
138
153
|
|
|
139
154
|
### CDN 🌍
|
|
140
155
|
|
|
141
|
-
#### All Names 📚
|
|
156
|
+
#### All Names (Full list) 📚
|
|
157
|
+
|
|
158
|
+
The complete list of color names is available in various formats.
|
|
142
159
|
|
|
143
160
|
[JSON](https://unpkg.com/color-name-list/dist/colornames.json)
|
|
144
161
|
/ [JSON.min](https://unpkg.com/color-name-list/dist/colornames.min.json)
|
|
145
162
|
/ [CSV](https://unpkg.com/color-name-list/dist/colornames.csv)
|
|
146
163
|
/ [YML](https://unpkg.com/color-name-list/dist/colornames.yaml)
|
|
164
|
+
/ [TOON](https://unpkg.com/color-name-list/dist/colornames.toon)
|
|
147
165
|
/ [JS](https://unpkg.com/color-name-list/dist/colornames.umd.js)
|
|
148
166
|
/ [XML](https://unpkg.com/color-name-list/dist/colornames.xml)
|
|
149
167
|
/ [HTML](https://unpkg.com/color-name-list/dist/colornames.html)
|
|
@@ -151,22 +169,46 @@ your project.
|
|
|
151
169
|
|
|
152
170
|
#### Best of Names subset 🏆
|
|
153
171
|
|
|
172
|
+
The curated "Best of" subset features a hand-picked selection of especially
|
|
173
|
+
playful, evocative, or well-crafted color names, chosen by human curators.
|
|
174
|
+
|
|
154
175
|
[JSON](https://unpkg.com/color-name-list/dist/colornames.bestof.json)
|
|
155
176
|
/ [JSON.min](https://unpkg.com/color-name-list/dist/colornames.bestof.min.json)
|
|
156
177
|
/ [CSV](https://unpkg.com/color-name-list/dist/colornames.bestof.csv)
|
|
157
178
|
/ [YML](https://unpkg.com/color-name-list/dist/colornames.bestof.yaml)
|
|
179
|
+
/ [TOON](https://unpkg.com/color-name-list/dist/colornames.bestof.toon)
|
|
158
180
|
/ [JS](https://unpkg.com/color-name-list/dist/colornames.bestof.umd.js)
|
|
159
181
|
/ [XML](https://unpkg.com/color-name-list/dist/colornames.bestof.xml)
|
|
160
182
|
/ [HTML](https://unpkg.com/color-name-list/dist/colornames.bestof.html)
|
|
161
183
|
/ [SCSS](https://unpkg.com/color-name-list/dist/colornames.bestof.scss)
|
|
162
|
-
|
|
184
|
+
|
|
185
|
+
#### Short Names subset ✂️
|
|
186
|
+
|
|
187
|
+
The Short Names subset offers a smaller collection of concise color names,
|
|
188
|
+
typically one word or very short phrases, ideal for scenarios where space is
|
|
189
|
+
limited or brevity is essential.
|
|
190
|
+
|
|
191
|
+
[JSON](https://unpkg.com/color-name-list/dist/colornames.short.json)
|
|
192
|
+
/ [JSON.min](https://unpkg.com/color-name-list/dist/colornames.short.min.json)
|
|
193
|
+
/ [CSV](https://unpkg.com/color-name-list/dist/colornames.short.csv)
|
|
194
|
+
/ [YML](https://unpkg.com/color-name-list/dist/colornames.short.yaml)
|
|
195
|
+
/ [TOON](https://unpkg.com/color-name-list/dist/colornames.short.toon)
|
|
196
|
+
/ [JS](https://unpkg.com/color-name-list/dist/colornames.short.umd.js)
|
|
197
|
+
/ [XML](https://unpkg.com/color-name-list/dist/colornames.short.xml)
|
|
198
|
+
/ [HTML](https://unpkg.com/color-name-list/dist/colornames.short.html)
|
|
199
|
+
/ [SCSS](https://unpkg.com/color-name-list/dist/colornames.short.scss)
|
|
163
200
|
|
|
164
201
|
### Usage JS 📦
|
|
165
202
|
|
|
166
203
|
__Bundle size note (1.14 MB)__: For browser usage,
|
|
167
204
|
consider the [public REST API](#api-).
|
|
168
205
|
|
|
169
|
-
|
|
206
|
+
By default you get the full list. For leaner subsets,
|
|
207
|
+
you can import `color-name-list/bestof` or
|
|
208
|
+
`color-name-list/short`, or use the `bestOf` and
|
|
209
|
+
`short` lists via the [public REST API](#api-).
|
|
210
|
+
|
|
211
|
+
More examples: see [`docs/usage-js.md`](docs/usage-js.md).
|
|
170
212
|
|
|
171
213
|
### API 🃏
|
|
172
214
|
|
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 500">
|
|
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="500"/>
|
|
13
|
+
<text x="40" y="90" fill="#e07630">Clockwork Orange</text><text x="40" y="160" fill="#93b83d">Grinch Green</text><text x="40" y="230" fill="#2b3458">Midnight Escapade</text><text x="40" y="300" fill="#f3dd51">Minions</text><text x="40" y="370" fill="#70f15e">The Matrix</text><text x="40" y="440" fill="#4a2559">Wonka Purple</text>
|
|
14
14
|
</svg>
|
|
@@ -1464,6 +1464,7 @@ Fondant,#f4e2cf
|
|
|
1464
1464
|
Fondue,#fdf5c4
|
|
1465
1465
|
Fool’s Gold,#cad175
|
|
1466
1466
|
Forbidden Fruit,#fe7b7c
|
|
1467
|
+
Forbidden Passion,#661020
|
|
1467
1468
|
Forbidden Peanut,#a38052
|
|
1468
1469
|
Force of Nature,#d5ce69
|
|
1469
1470
|
Forest,#0b5509
|
|
@@ -1784,6 +1785,7 @@ Grilled,#633f2e
|
|
|
1784
1785
|
Grilled Tomato,#af3519
|
|
1785
1786
|
Grim Grey,#e3dcd6
|
|
1786
1787
|
Grim White,#f6f1f4
|
|
1788
|
+
Grinch Green,#93b83d
|
|
1787
1789
|
Grisaille,#91979f
|
|
1788
1790
|
Grizzly,#885818
|
|
1789
1791
|
Groovy Giraffe,#eeaa11
|
|
@@ -2654,6 +2656,7 @@ Midnight,#03012d
|
|
|
2654
2656
|
Midnight Aubergine,#853c69
|
|
2655
2657
|
Midnight Dreams,#002233
|
|
2656
2658
|
Midnight Edition,#0c121b
|
|
2659
|
+
Midnight Escapade,#2b3458
|
|
2657
2660
|
Midnight Express,#21263a
|
|
2658
2661
|
Midnight in Tokyo,#000088
|
|
2659
2662
|
Midnight Interlude,#32496f
|
|
@@ -2690,6 +2693,7 @@ Mindaro,#daea6f
|
|
|
2690
2693
|
Minestrone,#c72616
|
|
2691
2694
|
Ming,#407577
|
|
2692
2695
|
Minion Yellow,#fece4e
|
|
2696
|
+
Minions,#f3dd51
|
|
2693
2697
|
Mink,#8a7561
|
|
2694
2698
|
Minotaurus Brown,#882211
|
|
2695
2699
|
Mint,#3eb489
|
|
@@ -4215,6 +4219,7 @@ The Count’s Black,#102030
|
|
|
4215
4219
|
The End,#2a2a2a
|
|
4216
4220
|
The Grape War of 97’,#bb00ff
|
|
4217
4221
|
The Legend of Green,#558844
|
|
4222
|
+
The Matrix,#70f15e
|
|
4218
4223
|
The Vast of Night,#110066
|
|
4219
4224
|
Think Brick,#834841
|
|
4220
4225
|
Think Pink,#e5a5c1
|
|
@@ -4650,6 +4655,7 @@ Wolf Pack,#78776f
|
|
|
4650
4655
|
Wolfram,#b5b6b7
|
|
4651
4656
|
Wonder Wine,#635d63
|
|
4652
4657
|
Wondrous Wisteria,#a3b1f2
|
|
4658
|
+
Wonka Purple,#4a2559
|
|
4653
4659
|
Wood Bark,#302621
|
|
4654
4660
|
Woodgrain,#996633
|
|
4655
4661
|
Woodhaven,#9e7b6c
|