@lakuna/color 1.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/LICENSE +21 -0
- package/README.md +11 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +46 -0
- package/dist/index.js.map +1 -0
- package/dist/names/bang.d.ts +9 -0
- package/dist/names/bang.d.ts.map +1 -0
- package/dist/names/bang.js +481 -0
- package/dist/names/bang.js.map +1 -0
- package/dist/names/cne.d.ts +9 -0
- package/dist/names/cne.d.ts.map +1 -0
- package/dist/names/cne.js +875 -0
- package/dist/names/cne.js.map +1 -0
- package/dist/names/crayola.d.ts +9 -0
- package/dist/names/crayola.d.ts.map +1 -0
- package/dist/names/crayola.js +130 -0
- package/dist/names/crayola.js.map +1 -0
- package/dist/names/getName.d.ts +20 -0
- package/dist/names/getName.d.ts.map +1 -0
- package/dist/names/getName.js +34 -0
- package/dist/names/getName.js.map +1 -0
- package/dist/names/hollasch.d.ts +9 -0
- package/dist/names/hollasch.d.ts.map +1 -0
- package/dist/names/hollasch.js +201 -0
- package/dist/names/hollasch.js.map +1 -0
- package/dist/names/nbs.d.ts +9 -0
- package/dist/names/nbs.d.ts.map +1 -0
- package/dist/names/nbs.js +277 -0
- package/dist/names/nbs.js.map +1 -0
- package/dist/names/ntc.d.ts +9 -0
- package/dist/names/ntc.d.ts.map +1 -0
- package/dist/names/ntc.js +1576 -0
- package/dist/names/ntc.js.map +1 -0
- package/dist/names/resene.d.ts +9 -0
- package/dist/names/resene.d.ts.map +1 -0
- package/dist/names/resene.js +1388 -0
- package/dist/names/resene.js.map +1 -0
- package/dist/names/x11.d.ts +9 -0
- package/dist/names/x11.d.ts.map +1 -0
- package/dist/names/x11.js +465 -0
- package/dist/names/x11.js.map +1 -0
- package/dist/names/xkcd.d.ts +9 -0
- package/dist/names/xkcd.d.ts.map +1 -0
- package/dist/names/xkcd.js +932 -0
- package/dist/names/xkcd.js.map +1 -0
- package/dist/types/Adobe.d.ts +15 -0
- package/dist/types/Adobe.d.ts.map +1 -0
- package/dist/types/Adobe.js +2 -0
- package/dist/types/Adobe.js.map +1 -0
- package/dist/types/Cmy.d.ts +15 -0
- package/dist/types/Cmy.d.ts.map +1 -0
- package/dist/types/Cmy.js +2 -0
- package/dist/types/Cmy.js.map +1 -0
- package/dist/types/Cmyk.d.ts +17 -0
- package/dist/types/Cmyk.d.ts.map +1 -0
- package/dist/types/Cmyk.js +2 -0
- package/dist/types/Cmyk.js.map +1 -0
- package/dist/types/Color.d.ts +6 -0
- package/dist/types/Color.d.ts.map +1 -0
- package/dist/types/Color.js +2 -0
- package/dist/types/Color.js.map +1 -0
- package/dist/types/Hsl.d.ts +15 -0
- package/dist/types/Hsl.d.ts.map +1 -0
- package/dist/types/Hsl.js +2 -0
- package/dist/types/Hsl.js.map +1 -0
- package/dist/types/Hsv.d.ts +15 -0
- package/dist/types/Hsv.d.ts.map +1 -0
- package/dist/types/Hsv.js +2 -0
- package/dist/types/Hsv.js.map +1 -0
- package/dist/types/Hunter.d.ts +15 -0
- package/dist/types/Hunter.d.ts.map +1 -0
- package/dist/types/Hunter.js +2 -0
- package/dist/types/Hunter.js.map +1 -0
- package/dist/types/Lab.d.ts +15 -0
- package/dist/types/Lab.d.ts.map +1 -0
- package/dist/types/Lab.js +2 -0
- package/dist/types/Lab.js.map +1 -0
- package/dist/types/Lch.d.ts +16 -0
- package/dist/types/Lch.d.ts.map +1 -0
- package/dist/types/Lch.js +2 -0
- package/dist/types/Lch.js.map +1 -0
- package/dist/types/Luv.d.ts +15 -0
- package/dist/types/Luv.d.ts.map +1 -0
- package/dist/types/Luv.js +2 -0
- package/dist/types/Luv.js.map +1 -0
- package/dist/types/Rgb.d.ts +15 -0
- package/dist/types/Rgb.d.ts.map +1 -0
- package/dist/types/Rgb.js +2 -0
- package/dist/types/Rgb.js.map +1 -0
- package/dist/types/Xyz.d.ts +15 -0
- package/dist/types/Xyz.d.ts.map +1 -0
- package/dist/types/Xyz.js +2 -0
- package/dist/types/Xyz.js.map +1 -0
- package/dist/types/Yxy.d.ts +15 -0
- package/dist/types/Yxy.d.ts.map +1 -0
- package/dist/types/Yxy.js +2 -0
- package/dist/types/Yxy.js.map +1 -0
- package/dist/utility/StandardIlluminant.d.ts +89 -0
- package/dist/utility/StandardIlluminant.d.ts.map +1 -0
- package/dist/utility/StandardIlluminant.js +90 -0
- package/dist/utility/StandardIlluminant.js.map +1 -0
- package/dist/utility/adobeToXyz.d.ts +10 -0
- package/dist/utility/adobeToXyz.d.ts.map +1 -0
- package/dist/utility/adobeToXyz.js +17 -0
- package/dist/utility/adobeToXyz.js.map +1 -0
- package/dist/utility/cmyToCmyk.d.ts +10 -0
- package/dist/utility/cmyToCmyk.d.ts.map +1 -0
- package/dist/utility/cmyToCmyk.js +19 -0
- package/dist/utility/cmyToCmyk.js.map +1 -0
- package/dist/utility/cmyToRgb.d.ts +10 -0
- package/dist/utility/cmyToRgb.d.ts.map +1 -0
- package/dist/utility/cmyToRgb.js +10 -0
- package/dist/utility/cmyToRgb.js.map +1 -0
- package/dist/utility/cmykToCmy.d.ts +10 -0
- package/dist/utility/cmykToCmy.d.ts.map +1 -0
- package/dist/utility/cmykToCmy.js +16 -0
- package/dist/utility/cmykToCmy.js.map +1 -0
- package/dist/utility/contrast.d.ts +12 -0
- package/dist/utility/contrast.d.ts.map +1 -0
- package/dist/utility/contrast.js +17 -0
- package/dist/utility/contrast.js.map +1 -0
- package/dist/utility/deltaC.d.ts +21 -0
- package/dist/utility/deltaC.d.ts.map +1 -0
- package/dist/utility/deltaC.js +4 -0
- package/dist/utility/deltaC.js.map +1 -0
- package/dist/utility/deltaCmc.d.ts +13 -0
- package/dist/utility/deltaCmc.d.ts.map +1 -0
- package/dist/utility/deltaCmc.js +46 -0
- package/dist/utility/deltaCmc.js.map +1 -0
- package/dist/utility/deltaE00.d.ts +13 -0
- package/dist/utility/deltaE00.d.ts.map +1 -0
- package/dist/utility/deltaE00.js +90 -0
- package/dist/utility/deltaE00.js.map +1 -0
- package/dist/utility/deltaE76.d.ts +21 -0
- package/dist/utility/deltaE76.d.ts.map +1 -0
- package/dist/utility/deltaE76.js +4 -0
- package/dist/utility/deltaE76.js.map +1 -0
- package/dist/utility/deltaE94.d.ts +13 -0
- package/dist/utility/deltaE94.d.ts.map +1 -0
- package/dist/utility/deltaE94.js +29 -0
- package/dist/utility/deltaE94.js.map +1 -0
- package/dist/utility/deltaH.d.ts +21 -0
- package/dist/utility/deltaH.d.ts.map +1 -0
- package/dist/utility/deltaH.js +14 -0
- package/dist/utility/deltaH.js.map +1 -0
- package/dist/utility/getReference.d.ts +9 -0
- package/dist/utility/getReference.d.ts.map +1 -0
- package/dist/utility/getReference.js +92 -0
- package/dist/utility/getReference.js.map +1 -0
- package/dist/utility/hexToRgb.d.ts +9 -0
- package/dist/utility/hexToRgb.d.ts.map +1 -0
- package/dist/utility/hexToRgb.js +10 -0
- package/dist/utility/hexToRgb.js.map +1 -0
- package/dist/utility/hslToRgb.d.ts +10 -0
- package/dist/utility/hslToRgb.d.ts.map +1 -0
- package/dist/utility/hslToRgb.js +46 -0
- package/dist/utility/hslToRgb.js.map +1 -0
- package/dist/utility/hsvToRgb.d.ts +10 -0
- package/dist/utility/hsvToRgb.d.ts.map +1 -0
- package/dist/utility/hsvToRgb.js +34 -0
- package/dist/utility/hsvToRgb.js.map +1 -0
- package/dist/utility/hunterToXyz.d.ts +11 -0
- package/dist/utility/hunterToXyz.d.ts.map +1 -0
- package/dist/utility/hunterToXyz.js +26 -0
- package/dist/utility/hunterToXyz.js.map +1 -0
- package/dist/utility/labToLch.d.ts +11 -0
- package/dist/utility/labToLch.d.ts.map +1 -0
- package/dist/utility/labToLch.js +19 -0
- package/dist/utility/labToLch.js.map +1 -0
- package/dist/utility/labToXyz.d.ts +11 -0
- package/dist/utility/labToXyz.d.ts.map +1 -0
- package/dist/utility/labToXyz.js +23 -0
- package/dist/utility/labToXyz.js.map +1 -0
- package/dist/utility/lchToLab.d.ts +11 -0
- package/dist/utility/lchToLab.d.ts.map +1 -0
- package/dist/utility/lchToLab.js +14 -0
- package/dist/utility/lchToLab.js.map +1 -0
- package/dist/utility/luvToXyz.d.ts +11 -0
- package/dist/utility/luvToXyz.d.ts.map +1 -0
- package/dist/utility/luvToXyz.js +28 -0
- package/dist/utility/luvToXyz.js.map +1 -0
- package/dist/utility/relativeLuminance.d.ts +10 -0
- package/dist/utility/relativeLuminance.d.ts.map +1 -0
- package/dist/utility/relativeLuminance.js +20 -0
- package/dist/utility/relativeLuminance.js.map +1 -0
- package/dist/utility/rgbToCmy.d.ts +10 -0
- package/dist/utility/rgbToCmy.d.ts.map +1 -0
- package/dist/utility/rgbToCmy.js +10 -0
- package/dist/utility/rgbToCmy.js.map +1 -0
- package/dist/utility/rgbToHsl.d.ts +10 -0
- package/dist/utility/rgbToHsl.d.ts.map +1 -0
- package/dist/utility/rgbToHsl.js +32 -0
- package/dist/utility/rgbToHsl.js.map +1 -0
- package/dist/utility/rgbToHsv.d.ts +10 -0
- package/dist/utility/rgbToHsv.d.ts.map +1 -0
- package/dist/utility/rgbToHsv.js +29 -0
- package/dist/utility/rgbToHsv.js.map +1 -0
- package/dist/utility/rgbToXyz.d.ts +10 -0
- package/dist/utility/rgbToXyz.d.ts.map +1 -0
- package/dist/utility/rgbToXyz.js +20 -0
- package/dist/utility/rgbToXyz.js.map +1 -0
- package/dist/utility/xyzToAdobe.d.ts +10 -0
- package/dist/utility/xyzToAdobe.d.ts.map +1 -0
- package/dist/utility/xyzToAdobe.js +17 -0
- package/dist/utility/xyzToAdobe.js.map +1 -0
- package/dist/utility/xyzToHunter.d.ts +11 -0
- package/dist/utility/xyzToHunter.d.ts.map +1 -0
- package/dist/utility/xyzToHunter.js +25 -0
- package/dist/utility/xyzToHunter.js.map +1 -0
- package/dist/utility/xyzToLab.d.ts +11 -0
- package/dist/utility/xyzToLab.d.ts.map +1 -0
- package/dist/utility/xyzToLab.js +21 -0
- package/dist/utility/xyzToLab.js.map +1 -0
- package/dist/utility/xyzToLuv.d.ts +11 -0
- package/dist/utility/xyzToLuv.d.ts.map +1 -0
- package/dist/utility/xyzToLuv.js +30 -0
- package/dist/utility/xyzToLuv.js.map +1 -0
- package/dist/utility/xyzToRgb.d.ts +10 -0
- package/dist/utility/xyzToRgb.d.ts.map +1 -0
- package/dist/utility/xyzToRgb.js +20 -0
- package/dist/utility/xyzToRgb.js.map +1 -0
- package/dist/utility/xyzToYxy.d.ts +10 -0
- package/dist/utility/xyzToYxy.d.ts.map +1 -0
- package/dist/utility/xyzToYxy.js +16 -0
- package/dist/utility/xyzToYxy.js.map +1 -0
- package/dist/utility/yxyToXyz.d.ts +10 -0
- package/dist/utility/yxyToXyz.d.ts.map +1 -0
- package/dist/utility/yxyToXyz.js +16 -0
- package/dist/utility/yxyToXyz.js.map +1 -0
- package/package.json +59 -0
- package/src/index.ts +61 -0
- package/src/names/bang.ts +483 -0
- package/src/names/cne.ts +877 -0
- package/src/names/crayola.ts +132 -0
- package/src/names/getName.ts +51 -0
- package/src/names/hollasch.ts +203 -0
- package/src/names/nbs.ts +279 -0
- package/src/names/ntc.ts +1578 -0
- package/src/names/resene.ts +1390 -0
- package/src/names/x11.ts +467 -0
- package/src/names/xkcd.ts +934 -0
- package/src/types/Adobe.ts +17 -0
- package/src/types/Cmy.ts +17 -0
- package/src/types/Cmyk.ts +20 -0
- package/src/types/Color.ts +5 -0
- package/src/types/Hsl.ts +17 -0
- package/src/types/Hsv.ts +17 -0
- package/src/types/Hunter.ts +17 -0
- package/src/types/Lab.ts +17 -0
- package/src/types/Lch.ts +18 -0
- package/src/types/Luv.ts +17 -0
- package/src/types/Rgb.ts +17 -0
- package/src/types/Xyz.ts +17 -0
- package/src/types/Yxy.ts +17 -0
- package/src/utility/StandardIlluminant.ts +128 -0
- package/src/utility/adobeToXyz.ts +20 -0
- package/src/utility/cmyToCmyk.ts +23 -0
- package/src/utility/cmyToRgb.ts +12 -0
- package/src/utility/cmykToCmy.ts +19 -0
- package/src/utility/contrast.ts +19 -0
- package/src/utility/deltaC.ts +26 -0
- package/src/utility/deltaCmc.ts +59 -0
- package/src/utility/deltaE00.ts +105 -0
- package/src/utility/deltaE76.ts +30 -0
- package/src/utility/deltaE94.ts +41 -0
- package/src/utility/deltaH.ts +39 -0
- package/src/utility/getReference.ts +95 -0
- package/src/utility/hexToRgb.ts +11 -0
- package/src/utility/hslToRgb.ts +53 -0
- package/src/utility/hsvToRgb.ts +44 -0
- package/src/utility/hunterToXyz.ts +33 -0
- package/src/utility/labToLch.ts +24 -0
- package/src/utility/labToXyz.ts +29 -0
- package/src/utility/lchToLab.ts +18 -0
- package/src/utility/luvToXyz.ts +35 -0
- package/src/utility/relativeLuminance.ts +25 -0
- package/src/utility/rgbToCmy.ts +12 -0
- package/src/utility/rgbToHsl.ts +38 -0
- package/src/utility/rgbToHsv.ts +35 -0
- package/src/utility/rgbToXyz.ts +23 -0
- package/src/utility/xyzToAdobe.ts +20 -0
- package/src/utility/xyzToHunter.ts +32 -0
- package/src/utility/xyzToLab.ts +27 -0
- package/src/utility/xyzToLuv.ts +38 -0
- package/src/utility/xyzToRgb.ts +23 -0
- package/src/utility/xyzToYxy.ts +19 -0
- package/src/utility/yxyToXyz.ts +19 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import type Rgb from "../types/Rgb.js";
|
|
2
|
+
import fromHex from "../utility/hexToRgb.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Crayola Crayon Colors. Colors are not uniformly distributed. Insufficient variety of distinct colors for computer use.
|
|
6
|
+
* @see {@link https://people.csail.mit.edu/jaffer/Color/Dictionaries#crayola | Color-Name Dictionaries}
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
const crayola: Map<string, Rgb> = new Map<string, Rgb>([
|
|
10
|
+
["black", fromHex(0x232323)],
|
|
11
|
+
["outerspace", fromHex(0x414a4c)],
|
|
12
|
+
["midnightblue", fromHex(0x1a4876)],
|
|
13
|
+
["navyblue", fromHex(0x1974d2)],
|
|
14
|
+
["denim", fromHex(0x2b6cc4)],
|
|
15
|
+
["tropicalrainforest", fromHex(0x17806d)],
|
|
16
|
+
["pinegreen", fromHex(0x158078)],
|
|
17
|
+
["turquoiseblue", fromHex(0x77dde7)],
|
|
18
|
+
["aquamarine", fromHex(0x78dbe2)],
|
|
19
|
+
["white", fromHex(0xededed)],
|
|
20
|
+
["piggypink", fromHex(0xfddde6)],
|
|
21
|
+
["timberwolf", fromHex(0xdbd7d2)],
|
|
22
|
+
["periwinkle", fromHex(0xc5d0e6)],
|
|
23
|
+
["silver", fromHex(0xcdc5c2)],
|
|
24
|
+
["cornflower", fromHex(0x9aceeb)],
|
|
25
|
+
["skyblue", fromHex(0x80daeb)],
|
|
26
|
+
["bluebell", fromHex(0xa2a2d0)],
|
|
27
|
+
["wildblueyonder", fromHex(0xa2add0)],
|
|
28
|
+
["cadetblue", fromHex(0xb0b7c6)],
|
|
29
|
+
["manatee", fromHex(0x979aaa)],
|
|
30
|
+
["gray", fromHex(0x95918c)],
|
|
31
|
+
["bluegreen", fromHex(0x199ebd)],
|
|
32
|
+
["cerulean", fromHex(0x1dacd6)],
|
|
33
|
+
["pacificblue", fromHex(0x1ca9c9)],
|
|
34
|
+
["robineggblue", fromHex(0x1fcecb)],
|
|
35
|
+
["green", fromHex(0x1cac78)],
|
|
36
|
+
["mountainmeadow", fromHex(0x30ba8f)],
|
|
37
|
+
["shamrock", fromHex(0x45cea2)],
|
|
38
|
+
["caribbeangreen", fromHex(0x1cd3a2)],
|
|
39
|
+
["fern", fromHex(0x71bc78)],
|
|
40
|
+
["forestgreen", fromHex(0x6dae81)],
|
|
41
|
+
["junglegreen", fromHex(0x3bb08f)],
|
|
42
|
+
["asparagus", fromHex(0x87a96b)],
|
|
43
|
+
["beaver", fromHex(0x9f8170)],
|
|
44
|
+
["olivegreen", fromHex(0xbab86c)],
|
|
45
|
+
["yellowgreen", fromHex(0xc5e384)],
|
|
46
|
+
["gold", fromHex(0xe7c697)],
|
|
47
|
+
["desertsand", fromHex(0xefcdb8)],
|
|
48
|
+
["peach", fromHex(0xffcfab)],
|
|
49
|
+
["apricot", fromHex(0xfdd9b5)],
|
|
50
|
+
["almond", fromHex(0xefdbc5)],
|
|
51
|
+
["bananamania", fromHex(0xfce9bd)],
|
|
52
|
+
["springgreen", fromHex(0xeceabe)],
|
|
53
|
+
["greenyellow", fromHex(0xf0e891)],
|
|
54
|
+
["canary", fromHex(0xfffdad)],
|
|
55
|
+
["seagreen", fromHex(0x9fe2bf)],
|
|
56
|
+
["grannysmithapple", fromHex(0xa8e4a0)],
|
|
57
|
+
["screamingreen", fromHex(0x76ff7a)],
|
|
58
|
+
["inchworm", fromHex(0xb2ec5d)],
|
|
59
|
+
["electriclime", fromHex(0xceff1d)],
|
|
60
|
+
["laserlemon", fromHex(0xfdfc74)],
|
|
61
|
+
["unmellowyellow", fromHex(0xfdfc74)],
|
|
62
|
+
["goldenrod", fromHex(0xfcd975)],
|
|
63
|
+
["dandelion", fromHex(0xfddb6d)],
|
|
64
|
+
["yellow", fromHex(0xfce883)],
|
|
65
|
+
["sunglow", fromHex(0xffcf48)],
|
|
66
|
+
["shadow", fromHex(0x8a795d)],
|
|
67
|
+
["sepia", fromHex(0xa5694f)],
|
|
68
|
+
["brown", fromHex(0xb4674d)],
|
|
69
|
+
["chestnut", fromHex(0xbc5d58)],
|
|
70
|
+
["fuzzywuzzybrown", fromHex(0xcc6666)],
|
|
71
|
+
["maroon", fromHex(0xc8385a)],
|
|
72
|
+
["jazzberryjam", fromHex(0xc63061)],
|
|
73
|
+
["brickred", fromHex(0xcb4154)],
|
|
74
|
+
["mahogany", fromHex(0xcd4a4c)],
|
|
75
|
+
["scarlet", fromHex(0xfc2847)],
|
|
76
|
+
["red", fromHex(0xee204d)],
|
|
77
|
+
["razzmatazz", fromHex(0xe3256b)],
|
|
78
|
+
["orange", fromHex(0xff7538)],
|
|
79
|
+
["neoncarrot", fromHex(0xffa343)],
|
|
80
|
+
["burntorange", fromHex(0xff7f49)],
|
|
81
|
+
["mangotango", fromHex(0xff8243)],
|
|
82
|
+
["yelloworange", fromHex(0xffb653)],
|
|
83
|
+
["melon", fromHex(0xfdbcb4)],
|
|
84
|
+
["macaroniandcheese", fromHex(0xffbd88)],
|
|
85
|
+
["salmon", fromHex(0xff9baa)],
|
|
86
|
+
["vividtangerine", fromHex(0xffa089)],
|
|
87
|
+
["bittersweet", fromHex(0xfd7c6e)],
|
|
88
|
+
["copper", fromHex(0xdd9475)],
|
|
89
|
+
["atomictangerine", fromHex(0xffa474)],
|
|
90
|
+
["tan", fromHex(0xfaa76c)],
|
|
91
|
+
["tumbleweed", fromHex(0xdeaa88)],
|
|
92
|
+
["antiquebrass", fromHex(0xcd9575)],
|
|
93
|
+
["rawsienna", fromHex(0xd68a59)],
|
|
94
|
+
["burntsienna", fromHex(0xea7e5d)],
|
|
95
|
+
["radicalred", fromHex(0xff496c)],
|
|
96
|
+
["wildwatermelon", fromHex(0xfc6c85)],
|
|
97
|
+
["outrageousorange", fromHex(0xff6e4a)],
|
|
98
|
+
["sunsetorange", fromHex(0xfd5e53)],
|
|
99
|
+
["redorange", fromHex(0xff5349)],
|
|
100
|
+
["wildstrawberry", fromHex(0xff43a4)],
|
|
101
|
+
["razzledazzlerose", fromHex(0xff48d0)],
|
|
102
|
+
["magenta", fromHex(0xf664af)],
|
|
103
|
+
["violetred", fromHex(0xf75394)],
|
|
104
|
+
["blush", fromHex(0xde5d83)],
|
|
105
|
+
["fuchsia", fromHex(0xc364c5)],
|
|
106
|
+
["purplemountainsmajesty", fromHex(0x9d81ba)],
|
|
107
|
+
["wisteria", fromHex(0xcda4de)],
|
|
108
|
+
["orchid", fromHex(0xe6a8d7)],
|
|
109
|
+
["ticklemepink", fromHex(0xfc89ac)],
|
|
110
|
+
["pinksherbet", fromHex(0xf78fa7)],
|
|
111
|
+
["mauvelous", fromHex(0xef98aa)],
|
|
112
|
+
["carnationpink", fromHex(0xffaacc)],
|
|
113
|
+
["lavender", fromHex(0xfcb4d5)],
|
|
114
|
+
["cottoncandy", fromHex(0xffbcd9)],
|
|
115
|
+
["pinkflamingo", fromHex(0xfc74fd)],
|
|
116
|
+
["shockingpink", fromHex(0xfb7efd)],
|
|
117
|
+
["hotmagenta", fromHex(0xff1dce)],
|
|
118
|
+
["purplepizzazz", fromHex(0xff1dce)],
|
|
119
|
+
["cerise", fromHex(0xdd4492)],
|
|
120
|
+
["redviolet", fromHex(0xc0448f)],
|
|
121
|
+
["vividviolet", fromHex(0x8f509d)],
|
|
122
|
+
["plum", fromHex(0x8e4585)],
|
|
123
|
+
["eggplant", fromHex(0x6e5160)],
|
|
124
|
+
["violet", fromHex(0x926eae)],
|
|
125
|
+
["blueviolet", fromHex(0x7366bd)],
|
|
126
|
+
["indigo", fromHex(0x5d76cb)],
|
|
127
|
+
["blue", fromHex(0x1f75fe)],
|
|
128
|
+
["royalpurple", fromHex(0x7851a9)],
|
|
129
|
+
["purpleheart", fromHex(0x7442c8)]
|
|
130
|
+
]);
|
|
131
|
+
|
|
132
|
+
export default crayola;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Color } from "../types/Color.js";
|
|
2
|
+
import type Rgb from "../types/Rgb.js";
|
|
3
|
+
import deltaE00 from "../utility/deltaE00.js";
|
|
4
|
+
import ntc from "./ntc.js";
|
|
5
|
+
import rgbToXyz from "../utility/rgbToXyz.js";
|
|
6
|
+
import xyzToLab from "../utility/xyzToLab.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Get the name of the nearest color in the given color name dictionary.
|
|
10
|
+
* @param color - The color.
|
|
11
|
+
* @param names - The color name dictionary.
|
|
12
|
+
* @param diff - The function for comparing the difference between colors.
|
|
13
|
+
* @returns The nearest color name.
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export default function getName<T extends Color>(
|
|
17
|
+
color: T,
|
|
18
|
+
names: Map<string, T>,
|
|
19
|
+
diff: (a: T, b: T) => number
|
|
20
|
+
): string {
|
|
21
|
+
let [nearestName] = names.entries().next().value as [string, T];
|
|
22
|
+
let nearestDiff = Infinity;
|
|
23
|
+
|
|
24
|
+
for (const [name, otherColor] of names.entries()) {
|
|
25
|
+
const currentDiff = diff(color, otherColor);
|
|
26
|
+
|
|
27
|
+
if (nearestDiff < currentDiff) {
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
nearestName = name;
|
|
32
|
+
nearestDiff = currentDiff;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return nearestName;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Get the name of the nearest color in the given sRGB color name dictionary using the ΔE* 2000 difference function in CIELCh(ab) space with the D65/2° standard illuminator-observer pair.
|
|
40
|
+
* @param color - The color.
|
|
41
|
+
* @param names - The sRGB color name dictionary. Defaults to Name That Color.
|
|
42
|
+
* @returns The nearest color name.
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export const getNameStandard = (
|
|
46
|
+
color: Rgb,
|
|
47
|
+
names: Map<string, Rgb> = ntc
|
|
48
|
+
): string =>
|
|
49
|
+
getName(color, names, (a, b) =>
|
|
50
|
+
deltaE00(xyzToLab(rgbToXyz(a)), xyzToLab(rgbToXyz(b)))
|
|
51
|
+
);
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import type Rgb from "../types/Rgb.js";
|
|
2
|
+
import fromHex from "../utility/hexToRgb.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Hollasch `colors.txt`. Compiled by Steve Hollasch. Looks fine for light sources, and appears better than `rgb.txt` for surface colors.
|
|
6
|
+
* @see {@link https://people.csail.mit.edu/jaffer/Color/Dictionaries#hollasch | Color-Name Dictionaries}
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
const hollasch: Map<string, Rgb> = new Map<string, Rgb>([
|
|
10
|
+
["cyan", fromHex(0x00ffff)],
|
|
11
|
+
["lavender", fromHex(0xe6e6fa)],
|
|
12
|
+
["bluelight", fromHex(0xadd8e6)],
|
|
13
|
+
["powderblue", fromHex(0xb0e0e6)],
|
|
14
|
+
["skyblue", fromHex(0x87ceeb)],
|
|
15
|
+
["skybluelight", fromHex(0x87cefa)],
|
|
16
|
+
["steelbluelight", fromHex(0xb0c4de)],
|
|
17
|
+
["turquoisedark", fromHex(0x00ced1)],
|
|
18
|
+
["turquoisemedium", fromHex(0x48d1cc)],
|
|
19
|
+
["cerulean", fromHex(0x05b8cc)],
|
|
20
|
+
["skybluedeep", fromHex(0x00bfff)],
|
|
21
|
+
["peacock", fromHex(0x33a1c9)],
|
|
22
|
+
["slategreylight", fromHex(0x778899)],
|
|
23
|
+
["slategrey", fromHex(0x708090)],
|
|
24
|
+
["steelblue", fromHex(0x4682b4)],
|
|
25
|
+
["cadet", fromHex(0x5f9ea0)],
|
|
26
|
+
["cobaltgreen", fromHex(0x3d9140)],
|
|
27
|
+
["seagreenmedium", fromHex(0x3cb371)],
|
|
28
|
+
["turquoiseblue", fromHex(0x00c78c)],
|
|
29
|
+
["manganeseblue", fromHex(0x03a89e)],
|
|
30
|
+
["seagreen", fromHex(0x2e8b57)],
|
|
31
|
+
["warmgrey", fromHex(0x808069)],
|
|
32
|
+
["coldgrey", fromHex(0x808a87)],
|
|
33
|
+
["beige", fromHex(0xa39480)],
|
|
34
|
+
["tan", fromHex(0xd2b48c)],
|
|
35
|
+
["khakidark", fromHex(0xbdb76b)],
|
|
36
|
+
["seagreendark", fromHex(0x8fbc8f)],
|
|
37
|
+
["seagreenlight", fromHex(0x20b2aa)],
|
|
38
|
+
["aquamarinemedium", fromHex(0x66cdaa)],
|
|
39
|
+
["grey", fromHex(0xc0c0c0)],
|
|
40
|
+
["gainsboro", fromHex(0xdcdcdc)],
|
|
41
|
+
["lightgrey", fromHex(0xd3d3d3)],
|
|
42
|
+
["blanchedalmond", fromHex(0xffebcd)],
|
|
43
|
+
["bisque", fromHex(0xffe4c4)],
|
|
44
|
+
["eggshell", fromHex(0xfce6c9)],
|
|
45
|
+
["antiquewhite", fromHex(0xfaebd7)],
|
|
46
|
+
["cyanwhite", fromHex(0xe0ffff)],
|
|
47
|
+
["honeydew", fromHex(0xf0fff0)],
|
|
48
|
+
["mintcream", fromHex(0xf5fffa)],
|
|
49
|
+
["white", fromHex(0xffffff)],
|
|
50
|
+
["floralwhite", fromHex(0xfffaf0)],
|
|
51
|
+
["whitesmoke", fromHex(0xf5f5f5)],
|
|
52
|
+
["aliceblue", fromHex(0xf0f8ff)],
|
|
53
|
+
["azure", fromHex(0xf0ffff)],
|
|
54
|
+
["ghostwhite", fromHex(0xf8f8ff)],
|
|
55
|
+
["zincwhite", fromHex(0xfcf7ff)],
|
|
56
|
+
["lavenderblush", fromHex(0xfff0f5)],
|
|
57
|
+
["linen", fromHex(0xfaf0e6)],
|
|
58
|
+
["seashell", fromHex(0xfff5ee)],
|
|
59
|
+
["snow", fromHex(0xfffafa)],
|
|
60
|
+
["ivory", fromHex(0xfffff0)],
|
|
61
|
+
["titaniumwhite", fromHex(0xfcfff0)],
|
|
62
|
+
["lightbeige", fromHex(0xf5f5dc)],
|
|
63
|
+
["oldlace", fromHex(0xfdf5e6)],
|
|
64
|
+
["papayawhip", fromHex(0xffefd5)],
|
|
65
|
+
["cornsilk", fromHex(0xfff8dc)],
|
|
66
|
+
["yellowlight", fromHex(0xffffe0)],
|
|
67
|
+
["lemonchiffon", fromHex(0xfffacd)],
|
|
68
|
+
["wheat", fromHex(0xf5deb3)],
|
|
69
|
+
["navajowhite", fromHex(0xffdead)],
|
|
70
|
+
["moccasin", fromHex(0xffe4b5)],
|
|
71
|
+
["goldenrodpale", fromHex(0xeee8aa)],
|
|
72
|
+
["goldenrodlight", fromHex(0xfafad2)],
|
|
73
|
+
["mint", fromHex(0xbdfcc9)],
|
|
74
|
+
["turquoisepale", fromHex(0xafeeee)],
|
|
75
|
+
["aquamarine", fromHex(0x7fffd4)],
|
|
76
|
+
["turquoise", fromHex(0x40e0d0)],
|
|
77
|
+
["springgreenmedium", fromHex(0x00fa9a)],
|
|
78
|
+
["greenpale", fromHex(0x98fb98)],
|
|
79
|
+
["springgreen", fromHex(0x00ff7f)],
|
|
80
|
+
["viridianlight", fromHex(0x6eff70)],
|
|
81
|
+
["green", fromHex(0x00ff00)],
|
|
82
|
+
["lawngreen", fromHex(0x7cfc00)],
|
|
83
|
+
["chartreuse", fromHex(0x7fff00)],
|
|
84
|
+
["greenyellow", fromHex(0xadff2f)],
|
|
85
|
+
["yellow", fromHex(0xffff00)],
|
|
86
|
+
["khaki", fromHex(0xf0e68c)],
|
|
87
|
+
["cadmiumlemon", fromHex(0xffe303)],
|
|
88
|
+
["gold", fromHex(0xffd700)],
|
|
89
|
+
["lightgoldenrod", fromHex(0xeedd82)],
|
|
90
|
+
["banana", fromHex(0xe3cf57)],
|
|
91
|
+
["yellowgreen", fromHex(0x9acd32)],
|
|
92
|
+
["olivedrab", fromHex(0x6b8e23)],
|
|
93
|
+
["cinnabargreen", fromHex(0x61b229)],
|
|
94
|
+
["forestgreen", fromHex(0x228b22)],
|
|
95
|
+
["emeraldgreen", fromHex(0x00c957)],
|
|
96
|
+
["limegreen", fromHex(0x32cd32)],
|
|
97
|
+
["permanentgreen", fromHex(0x0ac92b)],
|
|
98
|
+
["sapgreen", fromHex(0x308014)],
|
|
99
|
+
["greendark", fromHex(0x006400)],
|
|
100
|
+
["olivegreendark", fromHex(0x556b2f)],
|
|
101
|
+
["olive", fromHex(0x3b5e2b)],
|
|
102
|
+
["terreverte", fromHex(0x385e0f)],
|
|
103
|
+
["dimgrey", fromHex(0x696969)],
|
|
104
|
+
["slategreydark", fromHex(0x2f4f4f)],
|
|
105
|
+
["lampblack", fromHex(0x2e473b)],
|
|
106
|
+
["ivoryblack", fromHex(0x292421)],
|
|
107
|
+
["black", fromHex(0x000000)],
|
|
108
|
+
["chromeoxidegreen", fromHex(0x668014)],
|
|
109
|
+
["brick", fromHex(0x9c661f)],
|
|
110
|
+
["vandykebrown", fromHex(0x5e2605)],
|
|
111
|
+
["sepia", fromHex(0x5e2612)],
|
|
112
|
+
["sienna", fromHex(0xa0522d)],
|
|
113
|
+
["saddlebrown", fromHex(0x8b4513)],
|
|
114
|
+
["rawumber", fromHex(0x734a12)],
|
|
115
|
+
["deepochre", fromHex(0x733d1a)],
|
|
116
|
+
["brownochre", fromHex(0x87421f)],
|
|
117
|
+
["burntsienna", fromHex(0x8a360f)],
|
|
118
|
+
["brown", fromHex(0x802a2a)],
|
|
119
|
+
["burntumber", fromHex(0x8a3324)],
|
|
120
|
+
["marsorange", fromHex(0x964514)],
|
|
121
|
+
["raspberry", fromHex(0x872657)],
|
|
122
|
+
["maroon", fromHex(0xb03060)],
|
|
123
|
+
["permanentredviolet", fromHex(0xdb2645)],
|
|
124
|
+
["alizarincrimson", fromHex(0xe32636)],
|
|
125
|
+
["geraniumlake", fromHex(0xe31230)],
|
|
126
|
+
["indianred", fromHex(0xb0171f)],
|
|
127
|
+
["firebrick", fromHex(0xb22222)],
|
|
128
|
+
["englishred", fromHex(0xd43d1a)],
|
|
129
|
+
["venetianred", fromHex(0xd41a1f)],
|
|
130
|
+
["brownmadder", fromHex(0xdb2929)],
|
|
131
|
+
["cadmiumreddeep", fromHex(0xe3170d)],
|
|
132
|
+
["cadmiumredlight", fromHex(0xff030d)],
|
|
133
|
+
["red", fromHex(0xff0000)],
|
|
134
|
+
["orangered", fromHex(0xff4500)],
|
|
135
|
+
["greenishumber", fromHex(0xff3d0d)],
|
|
136
|
+
["fleshochre", fromHex(0xff5721)],
|
|
137
|
+
["tomato", fromHex(0xff6347)],
|
|
138
|
+
["cadmiumorange", fromHex(0xff6103)],
|
|
139
|
+
["rawsienna", fromHex(0xc76114)],
|
|
140
|
+
["chocolate", fromHex(0xd2691e)],
|
|
141
|
+
["marsyellow", fromHex(0xe3701a)],
|
|
142
|
+
["goldochre", fromHex(0xc77826)],
|
|
143
|
+
["peru", fromHex(0xcd853f)],
|
|
144
|
+
["goldenroddark", fromHex(0xb8860b)],
|
|
145
|
+
["goldenrod", fromHex(0xdaa520)],
|
|
146
|
+
["sandybrown", fromHex(0xf4a460)],
|
|
147
|
+
["carrot", fromHex(0xed9121)],
|
|
148
|
+
["yellowochre", fromHex(0xe38217)],
|
|
149
|
+
["coral", fromHex(0xff7f50)],
|
|
150
|
+
["flesh", fromHex(0xff7d40)],
|
|
151
|
+
["cadmiumyellow", fromHex(0xff9912)],
|
|
152
|
+
["darkorange", fromHex(0xff8c00)],
|
|
153
|
+
["orange", fromHex(0xff8000)],
|
|
154
|
+
["aureolineyellow", fromHex(0xffa824)],
|
|
155
|
+
["naplesyellowdeep", fromHex(0xffa812)],
|
|
156
|
+
["cadmiumyellowlight", fromHex(0xffb00f)],
|
|
157
|
+
["peachpuff", fromHex(0xffdab9)],
|
|
158
|
+
["mistyrose", fromHex(0xffe4e1)],
|
|
159
|
+
["pink", fromHex(0xffc0cb)],
|
|
160
|
+
["pinklight", fromHex(0xffb6c1)],
|
|
161
|
+
["burlywood", fromHex(0xdeb887)],
|
|
162
|
+
["corallight", fromHex(0xf08080)],
|
|
163
|
+
["salmon", fromHex(0xfa8072)],
|
|
164
|
+
["lightsalmon", fromHex(0xffa07a)],
|
|
165
|
+
["melon", fromHex(0xe3a869)],
|
|
166
|
+
["rosybrown", fromHex(0xbc8f8f)],
|
|
167
|
+
["violetredpale", fromHex(0xdb7093)],
|
|
168
|
+
["rosemadder", fromHex(0xe33638)],
|
|
169
|
+
["madderlakedeep", fromHex(0xe32e30)],
|
|
170
|
+
["deeppink", fromHex(0xff1493)],
|
|
171
|
+
["orchidmedium", fromHex(0xba55d3)],
|
|
172
|
+
["orchid", fromHex(0xda70d6)],
|
|
173
|
+
["hotpink", fromHex(0xff69b4)],
|
|
174
|
+
["purplemedium", fromHex(0x9370db)],
|
|
175
|
+
["cornflower", fromHex(0x6495ed)],
|
|
176
|
+
["plum", fromHex(0xdda0dd)],
|
|
177
|
+
["thistle", fromHex(0xd8bfd8)],
|
|
178
|
+
["dodgerblue", fromHex(0x1e90ff)],
|
|
179
|
+
["slatebluemedium", fromHex(0x7b68ee)],
|
|
180
|
+
["slatebluelight", fromHex(0x8470ff)],
|
|
181
|
+
["magenta", fromHex(0xff00ff)],
|
|
182
|
+
["bluemedium", fromHex(0x0000cd)],
|
|
183
|
+
["blue", fromHex(0x0000ff)],
|
|
184
|
+
["orchiddark", fromHex(0x9932cc)],
|
|
185
|
+
["blueviolet", fromHex(0x8a2be2)],
|
|
186
|
+
["violetdark", fromHex(0x9400d3)],
|
|
187
|
+
["purple", fromHex(0xa020f0)],
|
|
188
|
+
["violetred", fromHex(0xd02090)],
|
|
189
|
+
["violetredmedium", fromHex(0xc71585)],
|
|
190
|
+
["cobaltvioletdeep", fromHex(0x91219e)],
|
|
191
|
+
["ultramarineviolet", fromHex(0x5c246e)],
|
|
192
|
+
["violet", fromHex(0x8f5e99)],
|
|
193
|
+
["slatebluedark", fromHex(0x483d8b)],
|
|
194
|
+
["cobalt", fromHex(0x3d59ab)],
|
|
195
|
+
["royalblue", fromHex(0x4169e1)],
|
|
196
|
+
["slateblue", fromHex(0x6a5acd)],
|
|
197
|
+
["ultramarine", fromHex(0x120a8f)],
|
|
198
|
+
["navy", fromHex(0x000080)],
|
|
199
|
+
["midnightblue", fromHex(0x191970)],
|
|
200
|
+
["indigo", fromHex(0x2e0854)]
|
|
201
|
+
]);
|
|
202
|
+
|
|
203
|
+
export default hollasch;
|
package/src/names/nbs.ts
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import type Rgb from "../types/Rgb.js";
|
|
2
|
+
import fromHex from "../utility/hexToRgb.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* NBS/ISCC Centroids. Improved version by John Foster that fixes the human errors in David Mundie's version. Good source for surface colors.
|
|
6
|
+
* @see {@link https://people.csail.mit.edu/jaffer/Color/Dictionaries#nbs-iscc | Color-Name Dictionaries}
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
const nbs: Map<string, Rgb> = new Map<string, Rgb>([
|
|
10
|
+
["deepgreen", fromHex(0x00543d)],
|
|
11
|
+
["verydarkbluishgreen", fromHex(0x002a29)],
|
|
12
|
+
["verydarkgreenishblue", fromHex(0x002e3b)],
|
|
13
|
+
["darkgreenishblue", fromHex(0x004958)],
|
|
14
|
+
["darkbluishgreen", fromHex(0x004b49)],
|
|
15
|
+
["deepbluishgreen", fromHex(0x00443f)],
|
|
16
|
+
["darkgreen", fromHex(0x1b4d3e)],
|
|
17
|
+
["darkolivegreen", fromHex(0x2b3d26)],
|
|
18
|
+
["verydarkyellowishgreen", fromHex(0x173620)],
|
|
19
|
+
["verydeepyellowishgreen", fromHex(0x003118)],
|
|
20
|
+
["verydarkgreen", fromHex(0x1c352d)],
|
|
21
|
+
["darkgrayisholive", fromHex(0x363527)],
|
|
22
|
+
["darkgrayisholivegreen", fromHex(0x31362b)],
|
|
23
|
+
["darkgrayishbrown", fromHex(0x3e322c)],
|
|
24
|
+
["oliveblack", fromHex(0x25241d)],
|
|
25
|
+
["brownishblack", fromHex(0x28201c)],
|
|
26
|
+
["darkolivebrown", fromHex(0x3b3121)],
|
|
27
|
+
["darkolive", fromHex(0x403d21)],
|
|
28
|
+
["darkgrayishyellowishbrown", fromHex(0x483c32)],
|
|
29
|
+
["darkgrayishgreen", fromHex(0x3a4b47)],
|
|
30
|
+
["darkgrayishblue", fromHex(0x36454f)],
|
|
31
|
+
["blackishgreen", fromHex(0x1a2421)],
|
|
32
|
+
["greenishblack", fromHex(0x1e2321)],
|
|
33
|
+
["bluishblack", fromHex(0x202428)],
|
|
34
|
+
["blackishblue", fromHex(0x202830)],
|
|
35
|
+
["black", fromHex(0x222222)],
|
|
36
|
+
["purplishblack", fromHex(0x242124)],
|
|
37
|
+
["reddishblack", fromHex(0x282022)],
|
|
38
|
+
["darkblue", fromHex(0x00304e)],
|
|
39
|
+
["deepblue", fromHex(0x00416a)],
|
|
40
|
+
["grayishpurplishblue", fromHex(0x4c516d)],
|
|
41
|
+
["strongblue", fromHex(0x0067a5)],
|
|
42
|
+
["stronggreenishblue", fromHex(0x007791)],
|
|
43
|
+
["moderategreenishblue", fromHex(0x367588)],
|
|
44
|
+
["deepgreenishblue", fromHex(0x2e8495)],
|
|
45
|
+
["vividgreenishblue", fromHex(0x0085a1)],
|
|
46
|
+
["moderateblue", fromHex(0x436b95)],
|
|
47
|
+
["grayishgreen", fromHex(0x5e716a)],
|
|
48
|
+
["grayishblue", fromHex(0x536878)],
|
|
49
|
+
["darkbluishgray", fromHex(0x51585e)],
|
|
50
|
+
["darkgray", fromHex(0x555555)],
|
|
51
|
+
["darkpurplishgray", fromHex(0x5d555b)],
|
|
52
|
+
["darkgreenishgray", fromHex(0x4e5755)],
|
|
53
|
+
["brownishgray", fromHex(0x5b504f)],
|
|
54
|
+
["darkreddishgray", fromHex(0x5c504f)],
|
|
55
|
+
["olivegray", fromHex(0x57554c)],
|
|
56
|
+
["grayishbrown", fromHex(0x635147)],
|
|
57
|
+
["grayisholivegreen", fromHex(0x515744)],
|
|
58
|
+
["grayisholive", fromHex(0x5b5842)],
|
|
59
|
+
["grayishyellowishbrown", fromHex(0x7e6d5a)],
|
|
60
|
+
["darkyellowishgreen", fromHex(0x355e3b)],
|
|
61
|
+
["moderatebluishgreen", fromHex(0x317873)],
|
|
62
|
+
["vividbluishgreen", fromHex(0x008882)],
|
|
63
|
+
["strongbluishgreen", fromHex(0x007a74)],
|
|
64
|
+
["moderategreen", fromHex(0x3b7861)],
|
|
65
|
+
["stronggreen", fromHex(0x007959)],
|
|
66
|
+
["vividblue", fromHex(0x00a1c2)],
|
|
67
|
+
["brilliantgreenishblue", fromHex(0x239eba)],
|
|
68
|
+
["brilliantblue", fromHex(0x4997d0)],
|
|
69
|
+
["lightblue", fromHex(0x70a3cc)],
|
|
70
|
+
["lightgreenishblue", fromHex(0x66aabc)],
|
|
71
|
+
["verylightblue", fromHex(0xa1caf1)],
|
|
72
|
+
["verylightpurplishblue", fromHex(0xb3bce2)],
|
|
73
|
+
["verylightbluishgreen", fromHex(0x96ded1)],
|
|
74
|
+
["verylightgreen", fromHex(0x8ed1b2)],
|
|
75
|
+
["verypalegreen", fromHex(0xc7e6d7)],
|
|
76
|
+
["greenishwhite", fromHex(0xdfede8)],
|
|
77
|
+
["purplishwhite", fromHex(0xe8e3e5)],
|
|
78
|
+
["bluishwhite", fromHex(0xe9e9ed)],
|
|
79
|
+
["white", fromHex(0xf2f3f4)],
|
|
80
|
+
["yellowishwhite", fromHex(0xf0ead6)],
|
|
81
|
+
["paleyellowishpink", fromHex(0xecd5c5)],
|
|
82
|
+
["pinkishwhite", fromHex(0xeae3e1)],
|
|
83
|
+
["lightgreenishgray", fromHex(0xb2beb5)],
|
|
84
|
+
["lightpurplishgray", fromHex(0xbfb9bd)],
|
|
85
|
+
["verypalepurplishblue", fromHex(0xc0c8e1)],
|
|
86
|
+
["verypaleviolet", fromHex(0xc4c3dd)],
|
|
87
|
+
["verypaleblue", fromHex(0xbcd4e6)],
|
|
88
|
+
["lightbluishgray", fromHex(0xb4bcc0)],
|
|
89
|
+
["verylightgreenishblue", fromHex(0x9cd1dc)],
|
|
90
|
+
["palegreen", fromHex(0x8da399)],
|
|
91
|
+
["paleblue", fromHex(0x91a3b0)],
|
|
92
|
+
["pinkishgray", fromHex(0xc1b6b3)],
|
|
93
|
+
["lightgray", fromHex(0xb9b8b5)],
|
|
94
|
+
["brownishpink", fromHex(0xc2ac99)],
|
|
95
|
+
["yellowishgray", fromHex(0xbfb8a5)],
|
|
96
|
+
["lightgrayishyellowishbrown", fromHex(0xae9b82)],
|
|
97
|
+
["grayishyellowgreen", fromHex(0x8f9779)],
|
|
98
|
+
["lightolivegray", fromHex(0x8a8776)],
|
|
99
|
+
["lightgrayisholive", fromHex(0x8c8767)],
|
|
100
|
+
["lightgrayishbrown", fromHex(0x958070)],
|
|
101
|
+
["lightbrownishgray", fromHex(0x8e8279)],
|
|
102
|
+
["reddishgray", fromHex(0x8f817f)],
|
|
103
|
+
["purplishgray", fromHex(0x8b8589)],
|
|
104
|
+
["bluishgray", fromHex(0x81878b)],
|
|
105
|
+
["mediumgray", fromHex(0x848482)],
|
|
106
|
+
["palepurplishblue", fromHex(0x8c92ac)],
|
|
107
|
+
["greenishgray", fromHex(0x7d8984)],
|
|
108
|
+
["lightgreen", fromHex(0x6aab8e)],
|
|
109
|
+
["lightbluishgreen", fromHex(0x66ada4)],
|
|
110
|
+
["brilliantbluishgreen", fromHex(0x00a693)],
|
|
111
|
+
["brilliantgreen", fromHex(0x3eb489)],
|
|
112
|
+
["strongyellowishgreen", fromHex(0x44944a)],
|
|
113
|
+
["vividyellowishgreen", fromHex(0x27a64c)],
|
|
114
|
+
["lightyellowishgreen", fromHex(0x93c592)],
|
|
115
|
+
["moderateyellowishgreen", fromHex(0x679267)],
|
|
116
|
+
["moderateyellowgreen", fromHex(0x8a9a5b)],
|
|
117
|
+
["darkgreenishyellow", fromHex(0x98943e)],
|
|
118
|
+
["darkyellow", fromHex(0xab9144)],
|
|
119
|
+
["darkgrayishyellow", fromHex(0xa18f60)],
|
|
120
|
+
["grayishyellow", fromHex(0xc2b280)],
|
|
121
|
+
["grayishgreenishyellow", fromHex(0xb9b57d)],
|
|
122
|
+
["moderateyellow", fromHex(0xc9ae5d)],
|
|
123
|
+
["moderategreenishyellow", fromHex(0xb9b459)],
|
|
124
|
+
["lightyellowgreen", fromHex(0xc9dc89)],
|
|
125
|
+
["paleorangeyellow", fromHex(0xfad6a5)],
|
|
126
|
+
["paleyellowgreen", fromHex(0xdadfb7)],
|
|
127
|
+
["paleyellow", fromHex(0xf3e5ab)],
|
|
128
|
+
["lightyellow", fromHex(0xf8de7e)],
|
|
129
|
+
["palegreenishyellow", fromHex(0xebe8a4)],
|
|
130
|
+
["verylightyellowishgreen", fromHex(0xb6e5af)],
|
|
131
|
+
["brilliantyellowishgreen", fromHex(0x83d37d)],
|
|
132
|
+
["brilliantyellowgreen", fromHex(0xbdda57)],
|
|
133
|
+
["brilliantgreenishyellow", fromHex(0xe9e450)],
|
|
134
|
+
["lightgreenishyellow", fromHex(0xeae679)],
|
|
135
|
+
["brilliantyellow", fromHex(0xfada5e)],
|
|
136
|
+
["vividyellow", fromHex(0xf3c300)],
|
|
137
|
+
["vividgreenishyellow", fromHex(0xdcd300)],
|
|
138
|
+
["stronggreenishyellow", fromHex(0xbeb72e)],
|
|
139
|
+
["strongyellow", fromHex(0xd4af37)],
|
|
140
|
+
["deepyellow", fromHex(0xaf8d13)],
|
|
141
|
+
["deepgreenishyellow", fromHex(0x9b9400)],
|
|
142
|
+
["vividyellowgreen", fromHex(0x8db600)],
|
|
143
|
+
["strongyellowgreen", fromHex(0x7e9f2e)],
|
|
144
|
+
["vividgreen", fromHex(0x008856)],
|
|
145
|
+
["deepyellowgreen", fromHex(0x467129)],
|
|
146
|
+
["deepyellowishgreen", fromHex(0x00622d)],
|
|
147
|
+
["moderateolivegreen", fromHex(0x4a5d23)],
|
|
148
|
+
["moderateolive", fromHex(0x665d1e)],
|
|
149
|
+
["lightolive", fromHex(0x867e36)],
|
|
150
|
+
["moderateolivebrown", fromHex(0x6c541e)],
|
|
151
|
+
["deepolivegreen", fromHex(0x232f00)],
|
|
152
|
+
["strongolivegreen", fromHex(0x404f00)],
|
|
153
|
+
["lightolivebrown", fromHex(0x967117)],
|
|
154
|
+
["deeporange", fromHex(0xbe6516)],
|
|
155
|
+
["deepreddishbrown", fromHex(0x56070c)],
|
|
156
|
+
["deepbrown", fromHex(0x593319)],
|
|
157
|
+
["deepyellowishbrown", fromHex(0x654522)],
|
|
158
|
+
["moderatebrown", fromHex(0x6f4e37)],
|
|
159
|
+
["moderateyellowishbrown", fromHex(0x826644)],
|
|
160
|
+
["strongyellowishbrown", fromHex(0x996515)],
|
|
161
|
+
["strongbrown", fromHex(0x80461b)],
|
|
162
|
+
["brownishorange", fromHex(0xae6938)],
|
|
163
|
+
["darkreddishorange", fromHex(0x9e4732)],
|
|
164
|
+
["strongred", fromHex(0xbc3f4a)],
|
|
165
|
+
["deepreddishorange", fromHex(0xaa381e)],
|
|
166
|
+
["vividred", fromHex(0xbe0032)],
|
|
167
|
+
["strongreddishbrown", fromHex(0x882d17)],
|
|
168
|
+
["vividreddishorange", fromHex(0xe25822)],
|
|
169
|
+
["deepyellowishpink", fromHex(0xe66721)],
|
|
170
|
+
["deeporangeyellow", fromHex(0xc98500)],
|
|
171
|
+
["strongorangeyellow", fromHex(0xeaa221)],
|
|
172
|
+
["vividorangeyellow", fromHex(0xf6a600)],
|
|
173
|
+
["strongorange", fromHex(0xed872d)],
|
|
174
|
+
["brilliantorange", fromHex(0xfd943f)],
|
|
175
|
+
["vividorange", fromHex(0xf38400)],
|
|
176
|
+
["brilliantorangeyellow", fromHex(0xffc14f)],
|
|
177
|
+
["lightorangeyellow", fromHex(0xfbc97f)],
|
|
178
|
+
["lightorange", fromHex(0xfab57f)],
|
|
179
|
+
["vividyellowishpink", fromHex(0xffb7a5)],
|
|
180
|
+
["strongyellowishpink", fromHex(0xf99379)],
|
|
181
|
+
["moderateorange", fromHex(0xd99058)],
|
|
182
|
+
["moderateorangeyellow", fromHex(0xe3a857)],
|
|
183
|
+
["lightyellowishbrown", fromHex(0xc19a6b)],
|
|
184
|
+
["lightbrown", fromHex(0xa67b5b)],
|
|
185
|
+
["darkorangeyellow", fromHex(0xbe8a3d)],
|
|
186
|
+
["moderatereddishorange", fromHex(0xcb6d51)],
|
|
187
|
+
["grayishreddishorange", fromHex(0xb4745e)],
|
|
188
|
+
["strongreddishorange", fromHex(0xd9603b)],
|
|
189
|
+
["deeppurplishpink", fromHex(0xde6fa1)],
|
|
190
|
+
["strongpurplishpink", fromHex(0xe68fac)],
|
|
191
|
+
["deeppink", fromHex(0xe4717a)],
|
|
192
|
+
["darkyellowishpink", fromHex(0xc48379)],
|
|
193
|
+
["darkpink", fromHex(0xc08081)],
|
|
194
|
+
["lightreddishpurple", fromHex(0xb784a7)],
|
|
195
|
+
["darkpurplishpink", fromHex(0xc17e91)],
|
|
196
|
+
["palereddishpurple", fromHex(0xaa8a9e)],
|
|
197
|
+
["paleviolet", fromHex(0x9690ab)],
|
|
198
|
+
["lightgrayishreddishbrown", fromHex(0x977f73)],
|
|
199
|
+
["lightreddishbrown", fromHex(0xa87c6d)],
|
|
200
|
+
["lightgrayishpurplishred", fromHex(0xaf868e)],
|
|
201
|
+
["lightgrayishred", fromHex(0xad8884)],
|
|
202
|
+
["moderateyellowishpink", fromHex(0xd9a6a9)],
|
|
203
|
+
["moderatepink", fromHex(0xdea5a4)],
|
|
204
|
+
["grayishyellowishpink", fromHex(0xc7ada3)],
|
|
205
|
+
["grayishpink", fromHex(0xc4aead)],
|
|
206
|
+
["grayishpurplishpink", fromHex(0xc3a6b1)],
|
|
207
|
+
["palepurple", fromHex(0xaa98a9)],
|
|
208
|
+
["moderatepurplishpink", fromHex(0xd597ae)],
|
|
209
|
+
["strongpink", fromHex(0xea9399)],
|
|
210
|
+
["vividpink", fromHex(0xffb5ba)],
|
|
211
|
+
["brilliantpurplishpink", fromHex(0xffc8d6)],
|
|
212
|
+
["lightpurplishpink", fromHex(0xefbbcc)],
|
|
213
|
+
["verylightpurple", fromHex(0xd5badb)],
|
|
214
|
+
["verypalepurple", fromHex(0xd6cadd)],
|
|
215
|
+
["palepurplishpink", fromHex(0xe8ccd7)],
|
|
216
|
+
["lightyellowishpink", fromHex(0xf4c2c2)],
|
|
217
|
+
["palepink", fromHex(0xead8d7)],
|
|
218
|
+
["lightpink", fromHex(0xf9ccca)],
|
|
219
|
+
["verylightviolet", fromHex(0xdcd0ff)],
|
|
220
|
+
["brilliantpurple", fromHex(0xd399e6)],
|
|
221
|
+
["lightpurple", fromHex(0xb695c0)],
|
|
222
|
+
["lightpurplishblue", fromHex(0x8791bf)],
|
|
223
|
+
["lightviolet", fromHex(0x8c82b6)],
|
|
224
|
+
["vividviolet", fromHex(0x9065ca)],
|
|
225
|
+
["vividpurple", fromHex(0x9a4eae)],
|
|
226
|
+
["strongreddishpurple", fromHex(0x9e4f88)],
|
|
227
|
+
["vividpurplishred", fromHex(0xce4676)],
|
|
228
|
+
["moderatered", fromHex(0xab4e52)],
|
|
229
|
+
["moderatepurplishred", fromHex(0xa8516e)],
|
|
230
|
+
["strongpurplishred", fromHex(0xb3446c)],
|
|
231
|
+
["moderatereddishpurple", fromHex(0x915c83)],
|
|
232
|
+
["grayishpurplishred", fromHex(0x915f6d)],
|
|
233
|
+
["moderatereddishbrown", fromHex(0x79443b)],
|
|
234
|
+
["grayishred", fromHex(0x905d5d)],
|
|
235
|
+
["grayishreddishbrown", fromHex(0x674c47)],
|
|
236
|
+
["grayishpurple", fromHex(0x796878)],
|
|
237
|
+
["grayishreddishpurple", fromHex(0x836479)],
|
|
238
|
+
["brilliantpurplishblue", fromHex(0x6c79b8)],
|
|
239
|
+
["brilliantviolet", fromHex(0x7e73b8)],
|
|
240
|
+
["moderatepurple", fromHex(0x86608e)],
|
|
241
|
+
["strongpurple", fromHex(0x875692)],
|
|
242
|
+
["strongviolet", fromHex(0x604e97)],
|
|
243
|
+
["strongpurplishblue", fromHex(0x545aa7)],
|
|
244
|
+
["moderatepurplishblue", fromHex(0x4e5180)],
|
|
245
|
+
["moderateviolet", fromHex(0x604e81)],
|
|
246
|
+
["grayishviolet", fromHex(0x554c69)],
|
|
247
|
+
["deeppurple", fromHex(0x602f6b)],
|
|
248
|
+
["verydeepreddishpurple", fromHex(0x54194e)],
|
|
249
|
+
["verydeeppurple", fromHex(0x401a4c)],
|
|
250
|
+
["deepviolet", fromHex(0x32174d)],
|
|
251
|
+
["vividpurplishblue", fromHex(0x30267a)],
|
|
252
|
+
["deeppurplishblue", fromHex(0x272458)],
|
|
253
|
+
["darkviolet", fromHex(0x2f2140)],
|
|
254
|
+
["darkpurplishblue", fromHex(0x252440)],
|
|
255
|
+
["blackishpurple", fromHex(0x291e29)],
|
|
256
|
+
["blackishred", fromHex(0x2e1d21)],
|
|
257
|
+
["verydarkpurplishred", fromHex(0x38152c)],
|
|
258
|
+
["verydarkreddishpurple", fromHex(0x341731)],
|
|
259
|
+
["verydarkpurple", fromHex(0x301934)],
|
|
260
|
+
["darkreddishpurple", fromHex(0x5d3954)],
|
|
261
|
+
["darkpurple", fromHex(0x563c5c)],
|
|
262
|
+
["darkgrayishpurple", fromHex(0x50404d)],
|
|
263
|
+
["darkgrayishred", fromHex(0x543d3f)],
|
|
264
|
+
["darkyellowishbrown", fromHex(0x4b3621)],
|
|
265
|
+
["darkbrown", fromHex(0x422518)],
|
|
266
|
+
["darkgrayishreddishbrown", fromHex(0x43302e)],
|
|
267
|
+
["darkreddishbrown", fromHex(0x3e1d1e)],
|
|
268
|
+
["darkred", fromHex(0x722f37)],
|
|
269
|
+
["darkpurplishred", fromHex(0x673147)],
|
|
270
|
+
["verydeeppurplishred", fromHex(0x54133b)],
|
|
271
|
+
["verydarkred", fromHex(0x3f1728)],
|
|
272
|
+
["deeppurplishred", fromHex(0x78184a)],
|
|
273
|
+
["deepred", fromHex(0x841b2d)],
|
|
274
|
+
["verydeepred", fromHex(0x5c0923)],
|
|
275
|
+
["deepreddishpurple", fromHex(0x702963)],
|
|
276
|
+
["vividreddishpurple", fromHex(0x870074)]
|
|
277
|
+
]);
|
|
278
|
+
|
|
279
|
+
export default nbs;
|