color-name-list 11.10.0 → 11.10.1
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 +5 -5
- package/changes.svg +3 -3
- package/dist/history.json +1 -1
- package/package.json +1 -1
- package/scripts/build.js +61 -15
- package/src/colornames.csv +2 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](https://github.com/meodai/color-names/blob/main/src/colornames.csv)
|
|
10
10
|
[](https://github.com/sponsors/meodai)
|
|
11
11
|
|
|
12
|
-
A handpicked list of
|
|
12
|
+
A handpicked list of __30291__ unique color names from
|
|
13
13
|
[various sources](#sources-) and thousands of curated user submissions.
|
|
14
14
|
|
|
15
15
|
> The names of color function like a thread attached to a frightfully slender
|
|
@@ -59,9 +59,9 @@ Make sure to read the [naming rules](CONTRIBUTING.md) before you contribute!
|
|
|
59
59
|
If you want to contribute via Git. Edit the `src/colornames.csv` file
|
|
60
60
|
and make sure it builds correctly (`npm run ci && npm run build`).
|
|
61
61
|
|
|
62
|
-
## Color Count:
|
|
62
|
+
## Color Count: __30291__ 🎉
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
~__0.18%__ of the RGB color space
|
|
65
65
|
|
|
66
66
|
## [Color distribution](https://codepen.io/meodai/full/zdgXJj/) 🛰
|
|
67
67
|
|
|
@@ -77,7 +77,7 @@ colors evenly in the color space: [Visualization](https://codepen.io/meodai/full
|
|
|
77
77
|
|
|
78
78
|
### Node.js Installation 📦
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
__Size Warning (1.15 MB)__: If you are doing this in the browser,
|
|
81
81
|
consider using the [public rest API](#api-)
|
|
82
82
|
|
|
83
83
|
```shell
|
|
@@ -134,7 +134,7 @@ has no dependencies [Color-Name-API](https://github.com/meodai/color-name-api)
|
|
|
134
134
|
|
|
135
135
|
### Usage JS ⌨
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
__Size Warning (1.15 MB)__: If you are doing this in the browser,
|
|
138
138
|
consider using the [public rest API](#api-)
|
|
139
139
|
|
|
140
140
|
#### Exact Color
|
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 150">
|
|
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="150"/>
|
|
13
|
+
<text x="40" y="90" fill="#fff1fa">Pinkish White</text>
|
|
14
14
|
</svg>
|