color-name-list 13.20.0 → 13.22.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 +3 -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 +4 -1
- package/dist/colornames.bestof.umd.js +1 -1
- package/dist/colornames.bestof.xml +12 -0
- package/dist/colornames.bestof.yaml +9 -0
- package/dist/colornames.csv +4 -0
- 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 +1 -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 +2 -1
- package/dist/colornames.short.umd.js +1 -1
- package/dist/colornames.short.xml +4 -0
- package/dist/colornames.short.yaml +3 -0
- package/dist/colornames.toon +5 -1
- package/dist/colornames.umd.js +1 -1
- package/dist/colornames.xml +16 -0
- package/dist/colornames.yaml +12 -0
- package/dist/history.json +1 -1
- package/package.json +1 -1
- package/src/colornames.csv +4 -0
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 __29995__ 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: __29995__ 🎉
|
|
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 220">
|
|
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="220"/>
|
|
13
|
+
<text x="40" y="90" fill="#661020">Forbidden Passion</text><text x="40" y="160" fill="#a06567">Spring Rosewood</text>
|
|
14
14
|
</svg>
|
|
@@ -1151,6 +1151,7 @@ Dreamless Sleep,#111111
|
|
|
1151
1151
|
Dreamy Candy Forest,#b195e4
|
|
1152
1152
|
Dried Tomatoes,#ab6057
|
|
1153
1153
|
Drifting Cloud,#dbe0e1
|
|
1154
|
+
Drifting Violet,#5b4276
|
|
1154
1155
|
Driftwood,#a67a45
|
|
1155
1156
|
Drip Coffee,#7a280a
|
|
1156
1157
|
Dripping Wisteria,#bb99bb
|
|
@@ -1463,6 +1464,7 @@ Fondant,#f4e2cf
|
|
|
1463
1464
|
Fondue,#fdf5c4
|
|
1464
1465
|
Fool’s Gold,#cad175
|
|
1465
1466
|
Forbidden Fruit,#fe7b7c
|
|
1467
|
+
Forbidden Passion,#661020
|
|
1466
1468
|
Forbidden Peanut,#a38052
|
|
1467
1469
|
Force of Nature,#d5ce69
|
|
1468
1470
|
Forest,#0b5509
|
|
@@ -3851,6 +3853,7 @@ Silence,#eaede5
|
|
|
3851
3853
|
Silence Is Golden,#c2a06d
|
|
3852
3854
|
Silent Film,#9fa5a5
|
|
3853
3855
|
Silent Night,#526771
|
|
3856
|
+
Silent Orbit,#231c4d
|
|
3854
3857
|
Silent Sea,#3a4a63
|
|
3855
3858
|
Silent Snowfall,#eef7fa
|
|
3856
3859
|
Silent Twilight,#0f084b
|