@lakuna/color 1.1.1 → 1.2.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 +1 -1
- package/dist/{utility → convert}/adobeToXyz.d.ts +1 -1
- package/dist/convert/adobeToXyz.d.ts.map +1 -0
- package/dist/{utility → convert}/adobeToXyz.js +5 -3
- package/dist/convert/adobeToXyz.js.map +1 -0
- package/dist/{utility → convert}/cmyToCmyk.d.ts +1 -1
- package/dist/convert/cmyToCmyk.d.ts.map +1 -0
- package/dist/{utility → convert}/cmyToCmyk.js +0 -3
- package/dist/convert/cmyToCmyk.js.map +1 -0
- package/dist/{utility → convert}/cmyToRgb.d.ts +1 -1
- package/dist/{utility → convert}/cmyToRgb.d.ts.map +1 -1
- package/dist/{utility → convert}/cmyToRgb.js.map +1 -1
- package/dist/{utility → convert}/cmykToCmy.d.ts +1 -1
- package/dist/{utility → convert}/cmykToCmy.d.ts.map +1 -1
- package/dist/{utility → convert}/cmykToCmy.js +0 -1
- package/dist/convert/cmykToCmy.js.map +1 -0
- package/dist/{utility → convert}/hexToRgb.d.ts +1 -1
- package/dist/convert/hexToRgb.d.ts.map +1 -0
- package/dist/{utility → convert}/hexToRgb.js.map +1 -1
- package/dist/{utility → convert}/hslToRgb.d.ts +1 -1
- package/dist/convert/hslToRgb.d.ts.map +1 -0
- package/dist/{utility → convert}/hslToRgb.js +5 -6
- package/dist/convert/hslToRgb.js.map +1 -0
- package/dist/{utility → convert}/hsvToRgb.d.ts +1 -1
- package/dist/{utility → convert}/hsvToRgb.d.ts.map +1 -1
- package/dist/{utility → convert}/hsvToRgb.js +0 -2
- package/dist/convert/hsvToRgb.js.map +1 -0
- package/dist/{utility → convert}/hunterToXyz.d.ts +1 -1
- package/dist/convert/hunterToXyz.d.ts.map +1 -0
- package/dist/{utility → convert}/hunterToXyz.js +6 -7
- package/dist/convert/hunterToXyz.js.map +1 -0
- package/dist/convert/labToLch.d.ts +19 -0
- package/dist/convert/labToLch.d.ts.map +1 -0
- package/dist/convert/labToLch.js +12 -0
- package/dist/convert/labToLch.js.map +1 -0
- package/dist/{utility → convert}/labToXyz.d.ts +1 -1
- package/dist/convert/labToXyz.d.ts.map +1 -0
- package/dist/{utility → convert}/labToXyz.js +8 -5
- package/dist/convert/labToXyz.js.map +1 -0
- package/dist/convert/lchToLab.d.ts +19 -0
- package/dist/convert/lchToLab.d.ts.map +1 -0
- package/dist/convert/lchToLab.js +7 -0
- package/dist/convert/lchToLab.js.map +1 -0
- package/dist/{utility → convert}/luvToXyz.d.ts +1 -1
- package/dist/convert/luvToXyz.d.ts.map +1 -0
- package/dist/{utility → convert}/luvToXyz.js +4 -6
- package/dist/convert/luvToXyz.js.map +1 -0
- package/dist/{utility → convert}/rgbToCmy.d.ts +1 -1
- package/dist/{utility → convert}/rgbToCmy.d.ts.map +1 -1
- package/dist/{utility → convert}/rgbToCmy.js.map +1 -1
- package/dist/{utility → convert}/rgbToHex.d.ts.map +1 -1
- package/dist/{utility → convert}/rgbToHex.js +3 -1
- package/dist/convert/rgbToHex.js.map +1 -0
- package/dist/convert/rgbToHsi.d.ts +10 -0
- package/dist/convert/rgbToHsi.d.ts.map +1 -0
- package/dist/convert/rgbToHsi.js +36 -0
- package/dist/convert/rgbToHsi.js.map +1 -0
- package/dist/{utility → convert}/rgbToHsl.d.ts +1 -1
- package/dist/convert/rgbToHsl.d.ts.map +1 -0
- package/dist/convert/rgbToHsl.js +37 -0
- package/dist/convert/rgbToHsl.js.map +1 -0
- package/dist/{utility → convert}/rgbToHsv.d.ts +1 -1
- package/dist/convert/rgbToHsv.d.ts.map +1 -0
- package/dist/{utility → convert}/rgbToHsv.js +11 -11
- package/dist/convert/rgbToHsv.js.map +1 -0
- package/dist/{utility → convert}/rgbToXyz.d.ts +1 -1
- package/dist/convert/rgbToXyz.d.ts.map +1 -0
- package/dist/{utility → convert}/rgbToXyz.js +9 -3
- package/dist/convert/rgbToXyz.js.map +1 -0
- package/dist/{utility → convert}/xyzToAdobe.d.ts +1 -1
- package/dist/convert/xyzToAdobe.d.ts.map +1 -0
- package/dist/{utility → convert}/xyzToAdobe.js +5 -3
- package/dist/convert/xyzToAdobe.js.map +1 -0
- package/dist/{utility → convert}/xyzToHunter.d.ts +2 -2
- package/dist/convert/xyzToHunter.d.ts.map +1 -0
- package/dist/{utility → convert}/xyzToHunter.js +7 -8
- package/dist/convert/xyzToHunter.js.map +1 -0
- package/dist/{utility → convert}/xyzToLab.d.ts +1 -1
- package/dist/convert/xyzToLab.d.ts.map +1 -0
- package/dist/{utility → convert}/xyzToLab.js +9 -5
- package/dist/convert/xyzToLab.js.map +1 -0
- package/dist/{utility → convert}/xyzToLuv.d.ts +1 -1
- package/dist/convert/xyzToLuv.d.ts.map +1 -0
- package/dist/{utility → convert}/xyzToLuv.js +5 -7
- package/dist/convert/xyzToLuv.js.map +1 -0
- package/dist/{utility → convert}/xyzToRgb.d.ts +1 -1
- package/dist/convert/xyzToRgb.d.ts.map +1 -0
- package/dist/{utility → convert}/xyzToRgb.js +8 -3
- package/dist/convert/xyzToRgb.js.map +1 -0
- package/dist/{utility → convert}/xyzToYxy.d.ts +1 -1
- package/dist/{utility → convert}/xyzToYxy.d.ts.map +1 -1
- package/dist/{utility → convert}/xyzToYxy.js +0 -3
- package/dist/convert/xyzToYxy.js.map +1 -0
- package/dist/{utility → convert}/yxyToXyz.d.ts +1 -1
- package/dist/{utility → convert}/yxyToXyz.d.ts.map +1 -1
- package/dist/{utility → convert}/yxyToXyz.js +0 -3
- package/dist/convert/yxyToXyz.js.map +1 -0
- package/dist/delta/deltaC.d.ts.map +1 -0
- package/dist/delta/deltaC.js.map +1 -0
- package/dist/{utility → delta}/deltaCmc.d.ts +2 -2
- package/dist/delta/deltaCmc.d.ts.map +1 -0
- package/dist/{utility → delta}/deltaCmc.js +5 -8
- package/dist/delta/deltaCmc.js.map +1 -0
- package/dist/{utility → delta}/deltaE00.d.ts +2 -2
- package/dist/delta/deltaE00.d.ts.map +1 -0
- package/dist/{utility → delta}/deltaE00.js +13 -17
- package/dist/delta/deltaE00.js.map +1 -0
- package/dist/delta/deltaE76.d.ts.map +1 -0
- package/dist/delta/deltaE76.js.map +1 -0
- package/dist/{utility → delta}/deltaE94.d.ts +2 -2
- package/dist/delta/deltaE94.d.ts.map +1 -0
- package/dist/{utility → delta}/deltaE94.js +0 -6
- package/dist/delta/deltaE94.js.map +1 -0
- package/dist/delta/deltaH.d.ts.map +1 -0
- package/dist/{utility → delta}/deltaH.js +0 -4
- package/dist/delta/deltaH.js.map +1 -0
- package/dist/index.d.ts +41 -31
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +41 -30
- package/dist/index.js.map +1 -1
- package/dist/names/bang.d.ts +2 -2
- package/dist/names/bang.d.ts.map +1 -1
- package/dist/names/bang.js +471 -471
- package/dist/names/bang.js.map +1 -1
- package/dist/names/cne.d.ts +1 -1
- package/dist/names/cne.d.ts.map +1 -1
- package/dist/names/cne.js +843 -843
- package/dist/names/cne.js.map +1 -1
- package/dist/names/crayola.d.ts +1 -1
- package/dist/names/crayola.d.ts.map +1 -1
- package/dist/names/crayola.js +110 -110
- package/dist/names/crayola.js.map +1 -1
- package/dist/names/getName.d.ts.map +1 -1
- package/dist/names/getName.js +3 -3
- package/dist/names/getName.js.map +1 -1
- package/dist/names/hollasch.d.ts +1 -1
- package/dist/names/hollasch.d.ts.map +1 -1
- package/dist/names/hollasch.js +179 -179
- package/dist/names/hollasch.js.map +1 -1
- package/dist/names/nbs.d.ts +1 -1
- package/dist/names/nbs.d.ts.map +1 -1
- package/dist/names/nbs.js +266 -266
- package/dist/names/nbs.js.map +1 -1
- package/dist/names/ntc.d.ts +1 -1
- package/dist/names/ntc.d.ts.map +1 -1
- package/dist/names/ntc.js +1519 -1519
- package/dist/names/ntc.js.map +1 -1
- package/dist/names/resene.d.ts +1 -1
- package/dist/names/resene.d.ts.map +1 -1
- package/dist/names/resene.js +1331 -1331
- package/dist/names/resene.js.map +1 -1
- package/dist/names/tcapi.d.ts +1 -1
- package/dist/names/tcapi.d.ts.map +1 -1
- package/dist/names/tcapi.js +1840 -1840
- package/dist/names/tcapi.js.map +1 -1
- package/dist/names/x11.d.ts +1 -1
- package/dist/names/x11.d.ts.map +1 -1
- package/dist/names/x11.js +445 -445
- package/dist/names/x11.js.map +1 -1
- package/dist/names/xkcd.d.ts +1 -1
- package/dist/names/xkcd.d.ts.map +1 -1
- package/dist/names/xkcd.js +897 -897
- package/dist/names/xkcd.js.map +1 -1
- package/dist/palette/analogous.d.ts +28 -0
- package/dist/palette/analogous.d.ts.map +1 -0
- package/dist/palette/analogous.js +15 -0
- package/dist/palette/analogous.js.map +1 -0
- package/dist/palette/analogousLch.d.ts +19 -0
- package/dist/palette/analogousLch.d.ts.map +1 -0
- package/dist/palette/analogousLch.js +15 -0
- package/dist/palette/analogousLch.js.map +1 -0
- package/dist/palette/complement.d.ts +28 -0
- package/dist/palette/complement.d.ts.map +1 -0
- package/dist/palette/complement.js +15 -0
- package/dist/palette/complement.js.map +1 -0
- package/dist/palette/complementLch.d.ts +19 -0
- package/dist/palette/complementLch.d.ts.map +1 -0
- package/dist/palette/complementLch.js +15 -0
- package/dist/palette/complementLch.js.map +1 -0
- package/dist/palette/splitComplement.d.ts +28 -0
- package/dist/palette/splitComplement.d.ts.map +1 -0
- package/dist/palette/splitComplement.js +15 -0
- package/dist/palette/splitComplement.js.map +1 -0
- package/dist/palette/splitComplementLch.d.ts +19 -0
- package/dist/palette/splitComplementLch.d.ts.map +1 -0
- package/dist/palette/splitComplementLch.js +15 -0
- package/dist/palette/splitComplementLch.js.map +1 -0
- package/dist/types/Adobe.d.ts.map +1 -1
- package/dist/types/Cmy.d.ts.map +1 -1
- package/dist/types/Cmyk.d.ts.map +1 -1
- package/dist/types/Hsi.d.ts +15 -0
- package/dist/types/Hsi.d.ts.map +1 -0
- package/dist/types/Hsi.js +2 -0
- package/dist/types/Hsi.js.map +1 -0
- package/dist/types/Hsl.d.ts +1 -1
- package/dist/types/Hsl.d.ts.map +1 -1
- package/dist/types/Hsv.d.ts +1 -1
- package/dist/types/Hsv.d.ts.map +1 -1
- package/dist/types/Hunter.d.ts.map +1 -1
- package/dist/types/Lab.d.ts +2 -2
- package/dist/types/Lab.d.ts.map +1 -1
- package/dist/types/Lchab.d.ts +15 -0
- package/dist/types/Lchab.d.ts.map +1 -0
- package/dist/types/Lchab.js +2 -0
- package/dist/types/Lchab.js.map +1 -0
- package/dist/types/Lchuv.d.ts +15 -0
- package/dist/types/Lchuv.d.ts.map +1 -0
- package/dist/types/Lchuv.js +2 -0
- package/dist/types/Lchuv.js.map +1 -0
- package/dist/types/Luv.d.ts +1 -1
- package/dist/types/Luv.d.ts.map +1 -1
- package/dist/types/Rgb.d.ts.map +1 -1
- package/dist/types/Xyz.d.ts.map +1 -1
- package/dist/types/Yxy.d.ts.map +1 -1
- package/dist/utility/StandardIlluminant.d.ts.map +1 -1
- package/dist/utility/StandardIlluminant.js.map +1 -1
- package/dist/utility/contrast.d.ts.map +1 -1
- package/dist/utility/contrast.js.map +1 -1
- package/dist/utility/getReference.d.ts +2 -2
- package/dist/utility/getReference.d.ts.map +1 -1
- package/dist/utility/getReference.js +39 -39
- package/dist/utility/getReference.js.map +1 -1
- package/dist/utility/isWebSafe.d.ts +10 -0
- package/dist/utility/isWebSafe.d.ts.map +1 -0
- package/dist/utility/isWebSafe.js +11 -0
- package/dist/utility/isWebSafe.js.map +1 -0
- package/dist/utility/relativeLuminance.js.map +1 -1
- package/package.json +15 -15
- package/src/{utility → convert}/adobeToXyz.ts +10 -4
- package/src/{utility → convert}/cmyToCmyk.ts +5 -4
- package/src/{utility → convert}/cmyToRgb.ts +1 -1
- package/src/{utility → convert}/cmykToCmy.ts +1 -2
- package/src/{utility → convert}/hexToRgb.ts +1 -1
- package/src/{utility → convert}/hslToRgb.ts +9 -7
- package/src/{utility → convert}/hsvToRgb.ts +2 -3
- package/src/{utility → convert}/hunterToXyz.ts +11 -8
- package/src/convert/labToLch.ts +36 -0
- package/src/{utility → convert}/labToXyz.ts +11 -6
- package/src/convert/lchToLab.ts +30 -0
- package/src/{utility → convert}/luvToXyz.ts +9 -7
- package/src/{utility → convert}/rgbToCmy.ts +1 -1
- package/src/{utility → convert}/rgbToHex.ts +5 -1
- package/src/convert/rgbToHsi.ts +43 -0
- package/src/convert/rgbToHsl.ts +44 -0
- package/src/{utility → convert}/rgbToHsv.ts +14 -13
- package/src/{utility → convert}/rgbToXyz.ts +11 -4
- package/src/{utility → convert}/xyzToAdobe.ts +9 -4
- package/src/{utility → convert}/xyzToHunter.ts +12 -9
- package/src/{utility → convert}/xyzToLab.ts +12 -6
- package/src/{utility → convert}/xyzToLuv.ts +11 -9
- package/src/{utility → convert}/xyzToRgb.ts +10 -4
- package/src/{utility → convert}/xyzToYxy.ts +3 -4
- package/src/{utility → convert}/yxyToXyz.ts +3 -4
- package/src/{utility → delta}/deltaC.ts +0 -2
- package/src/{utility → delta}/deltaCmc.ts +12 -10
- package/src/{utility → delta}/deltaE00.ts +21 -18
- package/src/{utility → delta}/deltaE76.ts +0 -2
- package/src/{utility → delta}/deltaE94.ts +7 -8
- package/src/{utility → delta}/deltaH.ts +3 -6
- package/src/index.ts +47 -31
- package/src/names/bang.ts +476 -472
- package/src/names/cne.ts +848 -844
- package/src/names/crayola.ts +115 -111
- package/src/names/getName.ts +4 -3
- package/src/names/hollasch.ts +184 -180
- package/src/names/nbs.ts +271 -267
- package/src/names/ntc.ts +1524 -1520
- package/src/names/resene.ts +1336 -1332
- package/src/names/tcapi.ts +1845 -1841
- package/src/names/x11.ts +450 -446
- package/src/names/xkcd.ts +902 -898
- package/src/palette/analogous.ts +61 -0
- package/src/palette/analogousLch.ts +49 -0
- package/src/palette/complement.ts +65 -0
- package/src/palette/complementLch.ts +50 -0
- package/src/palette/splitComplement.ts +61 -0
- package/src/palette/splitComplementLch.ts +48 -0
- package/src/types/Adobe.ts +3 -0
- package/src/types/Cmy.ts +3 -0
- package/src/types/Cmyk.ts +4 -0
- package/src/types/Hsi.ts +20 -0
- package/src/types/Hsl.ts +4 -1
- package/src/types/Hsv.ts +4 -1
- package/src/types/Hunter.ts +3 -0
- package/src/types/Lab.ts +5 -2
- package/src/types/Lchab.ts +20 -0
- package/src/types/Lchuv.ts +20 -0
- package/src/types/Luv.ts +4 -1
- package/src/types/Rgb.ts +3 -0
- package/src/types/Xyz.ts +3 -0
- package/src/types/Yxy.ts +3 -0
- package/src/utility/StandardIlluminant.ts +40 -40
- package/src/utility/contrast.ts +1 -0
- package/src/utility/getReference.ts +42 -41
- package/src/utility/isWebSafe.ts +14 -0
- package/src/utility/relativeLuminance.ts +1 -1
- package/dist/types/Lch.d.ts +0 -16
- package/dist/types/Lch.d.ts.map +0 -1
- package/dist/types/Lch.js +0 -2
- package/dist/types/Lch.js.map +0 -1
- package/dist/utility/adobeToXyz.d.ts.map +0 -1
- package/dist/utility/adobeToXyz.js.map +0 -1
- package/dist/utility/cmyToCmyk.d.ts.map +0 -1
- package/dist/utility/cmyToCmyk.js.map +0 -1
- package/dist/utility/cmykToCmy.js.map +0 -1
- package/dist/utility/deltaC.d.ts.map +0 -1
- package/dist/utility/deltaC.js.map +0 -1
- package/dist/utility/deltaCmc.d.ts.map +0 -1
- package/dist/utility/deltaCmc.js.map +0 -1
- package/dist/utility/deltaE00.d.ts.map +0 -1
- package/dist/utility/deltaE00.js.map +0 -1
- package/dist/utility/deltaE76.d.ts.map +0 -1
- package/dist/utility/deltaE76.js.map +0 -1
- package/dist/utility/deltaE94.d.ts.map +0 -1
- package/dist/utility/deltaE94.js.map +0 -1
- package/dist/utility/deltaH.d.ts.map +0 -1
- package/dist/utility/deltaH.js.map +0 -1
- package/dist/utility/hexToRgb.d.ts.map +0 -1
- package/dist/utility/hslToRgb.d.ts.map +0 -1
- package/dist/utility/hslToRgb.js.map +0 -1
- package/dist/utility/hsvToRgb.js.map +0 -1
- package/dist/utility/hunterToXyz.d.ts.map +0 -1
- package/dist/utility/hunterToXyz.js.map +0 -1
- package/dist/utility/labToLch.d.ts +0 -11
- package/dist/utility/labToLch.d.ts.map +0 -1
- package/dist/utility/labToLch.js +0 -19
- package/dist/utility/labToLch.js.map +0 -1
- package/dist/utility/labToXyz.d.ts.map +0 -1
- package/dist/utility/labToXyz.js.map +0 -1
- package/dist/utility/lchToLab.d.ts +0 -11
- package/dist/utility/lchToLab.d.ts.map +0 -1
- package/dist/utility/lchToLab.js +0 -14
- package/dist/utility/lchToLab.js.map +0 -1
- package/dist/utility/luvToXyz.d.ts.map +0 -1
- package/dist/utility/luvToXyz.js.map +0 -1
- package/dist/utility/rgbToHex.js.map +0 -1
- package/dist/utility/rgbToHsl.d.ts.map +0 -1
- package/dist/utility/rgbToHsl.js +0 -31
- package/dist/utility/rgbToHsl.js.map +0 -1
- package/dist/utility/rgbToHsv.d.ts.map +0 -1
- package/dist/utility/rgbToHsv.js.map +0 -1
- package/dist/utility/rgbToXyz.d.ts.map +0 -1
- package/dist/utility/rgbToXyz.js.map +0 -1
- package/dist/utility/xyzToAdobe.d.ts.map +0 -1
- package/dist/utility/xyzToAdobe.js.map +0 -1
- package/dist/utility/xyzToHunter.d.ts.map +0 -1
- package/dist/utility/xyzToHunter.js.map +0 -1
- package/dist/utility/xyzToLab.d.ts.map +0 -1
- package/dist/utility/xyzToLab.js.map +0 -1
- package/dist/utility/xyzToLuv.d.ts.map +0 -1
- package/dist/utility/xyzToLuv.js.map +0 -1
- package/dist/utility/xyzToRgb.d.ts.map +0 -1
- package/dist/utility/xyzToRgb.js.map +0 -1
- package/dist/utility/xyzToYxy.js.map +0 -1
- package/dist/utility/yxyToXyz.js.map +0 -1
- package/src/types/Lch.ts +0 -18
- package/src/utility/labToLch.ts +0 -24
- package/src/utility/lchToLab.ts +0 -18
- package/src/utility/rgbToHsl.ts +0 -38
- /package/dist/{utility → convert}/cmyToRgb.js +0 -0
- /package/dist/{utility → convert}/hexToRgb.js +0 -0
- /package/dist/{utility → convert}/rgbToCmy.js +0 -0
- /package/dist/{utility → convert}/rgbToHex.d.ts +0 -0
- /package/dist/{utility → delta}/deltaC.d.ts +0 -0
- /package/dist/{utility → delta}/deltaC.js +0 -0
- /package/dist/{utility → delta}/deltaE76.d.ts +0 -0
- /package/dist/{utility → delta}/deltaE76.js +0 -0
- /package/dist/{utility → delta}/deltaH.d.ts +0 -0
package/src/names/crayola.ts
CHANGED
|
@@ -1,132 +1,136 @@
|
|
|
1
1
|
import type Rgb from "../types/Rgb.js";
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
import fromHex from "../convert/hexToRgb.js";
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Crayola Crayon Colors. Colors are not uniformly distributed. Insufficient variety of distinct colors for computer use.
|
|
6
7
|
* @see {@link https://people.csail.mit.edu/jaffer/Color/Dictionaries#crayola | Color-Name Dictionaries}
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
9
|
-
const crayola: Map<string, Rgb> = new Map<
|
|
10
|
-
|
|
11
|
-
[
|
|
12
|
-
|
|
13
|
-
["
|
|
14
|
-
["
|
|
15
|
-
["
|
|
16
|
-
["pinegreen", fromHex(0x158078)],
|
|
17
|
-
["turquoiseblue", fromHex(0x77dde7)],
|
|
10
|
+
const crayola: Map<string, [number, number, number] & Rgb> = new Map<
|
|
11
|
+
string,
|
|
12
|
+
[number, number, number] & Rgb
|
|
13
|
+
>([
|
|
14
|
+
["almond", fromHex(0xefdbc5)],
|
|
15
|
+
["antique brass", fromHex(0xcd9575)],
|
|
16
|
+
["apricot", fromHex(0xfdd9b5)],
|
|
18
17
|
["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
18
|
["asparagus", fromHex(0x87a96b)],
|
|
19
|
+
["atomic tangerine", fromHex(0xffa474)],
|
|
20
|
+
["banana mania", fromHex(0xfce9bd)],
|
|
43
21
|
["beaver", fromHex(0x9f8170)],
|
|
44
|
-
["
|
|
45
|
-
["
|
|
46
|
-
["
|
|
47
|
-
["
|
|
48
|
-
["
|
|
49
|
-
["
|
|
50
|
-
["
|
|
51
|
-
["
|
|
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)],
|
|
22
|
+
["bittersweet", fromHex(0xfd7c6e)],
|
|
23
|
+
["black", fromHex(0x232323)],
|
|
24
|
+
["blue", fromHex(0x1f75fe)],
|
|
25
|
+
["blue bell", fromHex(0xa2a2d0)],
|
|
26
|
+
["blue green", fromHex(0x199ebd)],
|
|
27
|
+
["blue violet", fromHex(0x7366bd)],
|
|
28
|
+
["blush", fromHex(0xde5d83)],
|
|
29
|
+
["brick red", fromHex(0xcb4154)],
|
|
68
30
|
["brown", fromHex(0xb4674d)],
|
|
31
|
+
["burnt orange", fromHex(0xff7f49)],
|
|
32
|
+
["burnt sienna", fromHex(0xea7e5d)],
|
|
33
|
+
["cadet blue", fromHex(0xb0b7c6)],
|
|
34
|
+
["canary", fromHex(0xfffdad)],
|
|
35
|
+
["caribbean green", fromHex(0x1cd3a2)],
|
|
36
|
+
["carnation pink", fromHex(0xffaacc)],
|
|
37
|
+
["cerise", fromHex(0xdd4492)],
|
|
38
|
+
["cerulean", fromHex(0x1dacd6)],
|
|
69
39
|
["chestnut", fromHex(0xbc5d58)],
|
|
70
|
-
["
|
|
71
|
-
["
|
|
72
|
-
["
|
|
73
|
-
["
|
|
40
|
+
["copper", fromHex(0xdd9475)],
|
|
41
|
+
["cornflower", fromHex(0x9aceeb)],
|
|
42
|
+
["cotton candy", fromHex(0xffbcd9)],
|
|
43
|
+
["dandelion", fromHex(0xfddb6d)],
|
|
44
|
+
["denim", fromHex(0x2b6cc4)],
|
|
45
|
+
["desert sand", fromHex(0xefcdb8)],
|
|
46
|
+
["eggplant", fromHex(0x6e5160)],
|
|
47
|
+
["electric lime", fromHex(0xceff1d)],
|
|
48
|
+
["fern", fromHex(0x71bc78)],
|
|
49
|
+
["forest green", fromHex(0x6dae81)],
|
|
50
|
+
["fuchsia", fromHex(0xc364c5)],
|
|
51
|
+
["fuzzy wuzzy brown", fromHex(0xcc6666)],
|
|
52
|
+
["gold", fromHex(0xe7c697)],
|
|
53
|
+
["goldenrod", fromHex(0xfcd975)],
|
|
54
|
+
["granny smith apple", fromHex(0xa8e4a0)],
|
|
55
|
+
["gray", fromHex(0x95918c)],
|
|
56
|
+
["green", fromHex(0x1cac78)],
|
|
57
|
+
["green yellow", fromHex(0xf0e891)],
|
|
58
|
+
["hot magenta", fromHex(0xff1dce)],
|
|
59
|
+
["inch worm", fromHex(0xb2ec5d)],
|
|
60
|
+
["indigo", fromHex(0x5d76cb)],
|
|
61
|
+
["jazzberry jam", fromHex(0xc63061)],
|
|
62
|
+
["jungle green", fromHex(0x3bb08f)],
|
|
63
|
+
["laser lemon", fromHex(0xfdfc74)],
|
|
64
|
+
["lavender", fromHex(0xfcb4d5)],
|
|
65
|
+
["macaroni and cheese", fromHex(0xffbd88)],
|
|
66
|
+
["magenta", fromHex(0xf664af)],
|
|
74
67
|
["mahogany", fromHex(0xcd4a4c)],
|
|
75
|
-
["
|
|
76
|
-
["
|
|
77
|
-
["
|
|
78
|
-
["
|
|
79
|
-
["neoncarrot", fromHex(0xffa343)],
|
|
80
|
-
["burntorange", fromHex(0xff7f49)],
|
|
81
|
-
["mangotango", fromHex(0xff8243)],
|
|
82
|
-
["yelloworange", fromHex(0xffb653)],
|
|
68
|
+
["manatee", fromHex(0x979aaa)],
|
|
69
|
+
["mango tango", fromHex(0xff8243)],
|
|
70
|
+
["maroon", fromHex(0xc8385a)],
|
|
71
|
+
["mauvelous", fromHex(0xef98aa)],
|
|
83
72
|
["melon", fromHex(0xfdbcb4)],
|
|
84
|
-
["
|
|
73
|
+
["midnight blue", fromHex(0x1a4876)],
|
|
74
|
+
["mountain meadow", fromHex(0x30ba8f)],
|
|
75
|
+
["navy blue", fromHex(0x1974d2)],
|
|
76
|
+
["neon carrot", fromHex(0xffa343)],
|
|
77
|
+
["olive green", fromHex(0xbab86c)],
|
|
78
|
+
["orange", fromHex(0xff7538)],
|
|
79
|
+
["orchid", fromHex(0xe6a8d7)],
|
|
80
|
+
["outer space", fromHex(0x414a4c)],
|
|
81
|
+
["outrageous orange", fromHex(0xff6e4a)],
|
|
82
|
+
["pacific blue", fromHex(0x1ca9c9)],
|
|
83
|
+
["peach", fromHex(0xffcfab)],
|
|
84
|
+
["periwinkle", fromHex(0xc5d0e6)],
|
|
85
|
+
["piggy pink", fromHex(0xfddde6)],
|
|
86
|
+
["pine green", fromHex(0x158078)],
|
|
87
|
+
["pink flamingo", fromHex(0xfc74fd)],
|
|
88
|
+
["pink sherbet", fromHex(0xf78fa7)],
|
|
89
|
+
["plum", fromHex(0x8e4585)],
|
|
90
|
+
["purple heart", fromHex(0x7442c8)],
|
|
91
|
+
["purple mountain's majesty", fromHex(0x9d81ba)],
|
|
92
|
+
["purple pizzazz", fromHex(0xff1dce)],
|
|
93
|
+
["radical red", fromHex(0xff496c)],
|
|
94
|
+
["raw sienna", fromHex(0xd68a59)],
|
|
95
|
+
["razzle dazzle rose", fromHex(0xff48d0)],
|
|
96
|
+
["razzmatazz", fromHex(0xe3256b)],
|
|
97
|
+
["red", fromHex(0xee204d)],
|
|
98
|
+
["red orange", fromHex(0xff5349)],
|
|
99
|
+
["red violet", fromHex(0xc0448f)],
|
|
100
|
+
["robin egg blue", fromHex(0x1fcecb)],
|
|
101
|
+
["royal purple", fromHex(0x7851a9)],
|
|
85
102
|
["salmon", fromHex(0xff9baa)],
|
|
86
|
-
["
|
|
87
|
-
["
|
|
88
|
-
["
|
|
89
|
-
["
|
|
103
|
+
["scarlet", fromHex(0xfc2847)],
|
|
104
|
+
["screamin' green", fromHex(0x76ff7a)],
|
|
105
|
+
["sea green", fromHex(0x9fe2bf)],
|
|
106
|
+
["sepia", fromHex(0xa5694f)],
|
|
107
|
+
["shadow", fromHex(0x8a795d)],
|
|
108
|
+
["shamrock", fromHex(0x45cea2)],
|
|
109
|
+
["shocking pink", fromHex(0xfb7efd)],
|
|
110
|
+
["silver", fromHex(0xcdc5c2)],
|
|
111
|
+
["sky blue", fromHex(0x80daeb)],
|
|
112
|
+
["spring green", fromHex(0xeceabe)],
|
|
113
|
+
["sunglow", fromHex(0xffcf48)],
|
|
114
|
+
["sunset orange", fromHex(0xfd5e53)],
|
|
90
115
|
["tan", fromHex(0xfaa76c)],
|
|
116
|
+
["tickle me pink", fromHex(0xfc89ac)],
|
|
117
|
+
["timberwolf", fromHex(0xdbd7d2)],
|
|
118
|
+
["tropical rain forest", fromHex(0x17806d)],
|
|
91
119
|
["tumbleweed", fromHex(0xdeaa88)],
|
|
92
|
-
["
|
|
93
|
-
["
|
|
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)],
|
|
120
|
+
["turquoise blue", fromHex(0x77dde7)],
|
|
121
|
+
["unmellow yellow", fromHex(0xfdfc74)],
|
|
124
122
|
["violet", fromHex(0x926eae)],
|
|
125
|
-
["
|
|
126
|
-
["
|
|
127
|
-
["
|
|
128
|
-
["
|
|
129
|
-
["
|
|
123
|
+
["violet red", fromHex(0xf75394)],
|
|
124
|
+
["vivid tangerine", fromHex(0xffa089)],
|
|
125
|
+
["vivid violet", fromHex(0x8f509d)],
|
|
126
|
+
["white", fromHex(0xededed)],
|
|
127
|
+
["wild blue yonder", fromHex(0xa2add0)],
|
|
128
|
+
["wild strawberry", fromHex(0xff43a4)],
|
|
129
|
+
["wild watermelon", fromHex(0xfc6c85)],
|
|
130
|
+
["wisteria", fromHex(0xcda4de)],
|
|
131
|
+
["yellow", fromHex(0xfce883)],
|
|
132
|
+
["yellow green", fromHex(0xc5e384)],
|
|
133
|
+
["yellow orange", fromHex(0xffb653)]
|
|
130
134
|
]);
|
|
131
135
|
|
|
132
136
|
export default crayola;
|
package/src/names/getName.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { Color } from "../types/Color.js";
|
|
2
2
|
import type Rgb from "../types/Rgb.js";
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
import rgbToXyz from "../convert/rgbToXyz.js";
|
|
5
|
+
import xyzToLab from "../convert/xyzToLab.js";
|
|
6
|
+
import deltaE00 from "../delta/deltaE00.js";
|
|
4
7
|
import ntc from "./ntc.js";
|
|
5
|
-
import rgbToXyz from "../utility/rgbToXyz.js";
|
|
6
|
-
import xyzToLab from "../utility/xyzToLab.js";
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Get the name of the nearest color in the given color name dictionary.
|
package/src/names/hollasch.ts
CHANGED
|
@@ -1,203 +1,207 @@
|
|
|
1
1
|
import type Rgb from "../types/Rgb.js";
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
import fromHex from "../convert/hexToRgb.js";
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Hollasch `colors.txt`. Compiled by Steve Hollasch. Looks fine for light sources, and appears better than `rgb.txt` for surface colors.
|
|
6
7
|
* @see {@link https://people.csail.mit.edu/jaffer/Color/Dictionaries#hollasch | Color-Name Dictionaries}
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
9
|
-
const hollasch: Map<string, Rgb> = new Map<
|
|
10
|
-
|
|
11
|
-
[
|
|
12
|
-
|
|
13
|
-
["
|
|
14
|
-
["
|
|
15
|
-
["
|
|
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)],
|
|
10
|
+
const hollasch: Map<string, [number, number, number] & Rgb> = new Map<
|
|
11
|
+
string,
|
|
12
|
+
[number, number, number] & Rgb
|
|
13
|
+
>([
|
|
14
|
+
["alice blue", fromHex(0xf0f8ff)],
|
|
15
|
+
["alizarin crimson", fromHex(0xe32636)],
|
|
16
|
+
["antique white", fromHex(0xfaebd7)],
|
|
75
17
|
["aquamarine", fromHex(0x7fffd4)],
|
|
76
|
-
["
|
|
77
|
-
["
|
|
78
|
-
["
|
|
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)],
|
|
18
|
+
["aquamarine medium", fromHex(0x66cdaa)],
|
|
19
|
+
["aureoline yellow", fromHex(0xffa824)],
|
|
20
|
+
["azure", fromHex(0xf0ffff)],
|
|
90
21
|
["banana", fromHex(0xe3cf57)],
|
|
91
|
-
["
|
|
92
|
-
["
|
|
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)],
|
|
22
|
+
["beige", fromHex(0xa39480)],
|
|
23
|
+
["bisque", fromHex(0xffe4c4)],
|
|
107
24
|
["black", fromHex(0x000000)],
|
|
108
|
-
["
|
|
25
|
+
["blanched almond", fromHex(0xffebcd)],
|
|
26
|
+
["blue", fromHex(0x0000ff)],
|
|
27
|
+
["blue light", fromHex(0xadd8e6)],
|
|
28
|
+
["blue medium", fromHex(0x0000cd)],
|
|
29
|
+
["blue violet", fromHex(0x8a2be2)],
|
|
109
30
|
["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
31
|
["brown", fromHex(0x802a2a)],
|
|
119
|
-
["
|
|
120
|
-
["
|
|
121
|
-
["
|
|
122
|
-
["
|
|
123
|
-
["
|
|
124
|
-
["
|
|
125
|
-
["
|
|
126
|
-
["
|
|
127
|
-
["
|
|
128
|
-
["
|
|
129
|
-
["
|
|
130
|
-
["
|
|
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)],
|
|
32
|
+
["brown madder", fromHex(0xdb2929)],
|
|
33
|
+
["brown ochre", fromHex(0x87421f)],
|
|
34
|
+
["burlywood", fromHex(0xdeb887)],
|
|
35
|
+
["burnt sienna", fromHex(0x8a360f)],
|
|
36
|
+
["burnt umber", fromHex(0x8a3324)],
|
|
37
|
+
["cadet", fromHex(0x5f9ea0)],
|
|
38
|
+
["cadmium lemon", fromHex(0xffe303)],
|
|
39
|
+
["cadmium orange", fromHex(0xff6103)],
|
|
40
|
+
["cadmium red deep", fromHex(0xe3170d)],
|
|
41
|
+
["cadmium red light", fromHex(0xff030d)],
|
|
42
|
+
["cadmium yellow", fromHex(0xff9912)],
|
|
43
|
+
["cadmium yellow light", fromHex(0xffb00f)],
|
|
147
44
|
["carrot", fromHex(0xed9121)],
|
|
148
|
-
["
|
|
45
|
+
["cerulean", fromHex(0x05b8cc)],
|
|
46
|
+
["chartreuse", fromHex(0x7fff00)],
|
|
47
|
+
["chocolate", fromHex(0xd2691e)],
|
|
48
|
+
["chrome oxide green", fromHex(0x668014)],
|
|
49
|
+
["cinnabar green", fromHex(0x61b229)],
|
|
50
|
+
["cobalt", fromHex(0x3d59ab)],
|
|
51
|
+
["cobalt green", fromHex(0x3d9140)],
|
|
52
|
+
["cobalt violet deep", fromHex(0x91219e)],
|
|
53
|
+
["cold grey", fromHex(0x808a87)],
|
|
149
54
|
["coral", fromHex(0xff7f50)],
|
|
55
|
+
["coral light", fromHex(0xf08080)],
|
|
56
|
+
["cornflower", fromHex(0x6495ed)],
|
|
57
|
+
["corn silk", fromHex(0xfff8dc)],
|
|
58
|
+
["cyan", fromHex(0x00ffff)],
|
|
59
|
+
["cyan white", fromHex(0xe0ffff)],
|
|
60
|
+
["dark orange", fromHex(0xff8c00)],
|
|
61
|
+
["deep ochre", fromHex(0x733d1a)],
|
|
62
|
+
["deep pink", fromHex(0xff1493)],
|
|
63
|
+
["dim grey", fromHex(0x696969)],
|
|
64
|
+
["dodger blue", fromHex(0x1e90ff)],
|
|
65
|
+
["eggshell", fromHex(0xfce6c9)],
|
|
66
|
+
["emerald green", fromHex(0x00c957)],
|
|
67
|
+
["english red", fromHex(0xd43d1a)],
|
|
68
|
+
["fire brick", fromHex(0xb22222)],
|
|
150
69
|
["flesh", fromHex(0xff7d40)],
|
|
151
|
-
["
|
|
152
|
-
["
|
|
153
|
-
["
|
|
154
|
-
["
|
|
155
|
-
["
|
|
156
|
-
["
|
|
157
|
-
["
|
|
158
|
-
["
|
|
159
|
-
["
|
|
160
|
-
["
|
|
161
|
-
["
|
|
162
|
-
["
|
|
163
|
-
["
|
|
164
|
-
["
|
|
70
|
+
["flesh ochre", fromHex(0xff5721)],
|
|
71
|
+
["floral white", fromHex(0xfffaf0)],
|
|
72
|
+
["forest green", fromHex(0x228b22)],
|
|
73
|
+
["gainsboro", fromHex(0xdcdcdc)],
|
|
74
|
+
["geranium lake", fromHex(0xe31230)],
|
|
75
|
+
["ghost white", fromHex(0xf8f8ff)],
|
|
76
|
+
["gold", fromHex(0xffd700)],
|
|
77
|
+
["goldenrod", fromHex(0xdaa520)],
|
|
78
|
+
["goldenrod dark", fromHex(0xb8860b)],
|
|
79
|
+
["goldenrod light", fromHex(0xfafad2)],
|
|
80
|
+
["goldenrod pale", fromHex(0xeee8aa)],
|
|
81
|
+
["gold ochre", fromHex(0xc77826)],
|
|
82
|
+
["green", fromHex(0x00ff00)],
|
|
83
|
+
["green dark", fromHex(0x006400)],
|
|
84
|
+
["greenish umber", fromHex(0xff3d0d)],
|
|
85
|
+
["green pale", fromHex(0x98fb98)],
|
|
86
|
+
["green yellow", fromHex(0xadff2f)],
|
|
87
|
+
["grey", fromHex(0xc0c0c0)],
|
|
88
|
+
["honeydew", fromHex(0xf0fff0)],
|
|
89
|
+
["hot pink", fromHex(0xff69b4)],
|
|
90
|
+
["indian red", fromHex(0xb0171f)],
|
|
91
|
+
["indigo", fromHex(0x2e0854)],
|
|
92
|
+
["ivory", fromHex(0xfffff0)],
|
|
93
|
+
["ivory black", fromHex(0x292421)],
|
|
94
|
+
["khaki", fromHex(0xf0e68c)],
|
|
95
|
+
["khaki dark", fromHex(0xbdb76b)],
|
|
96
|
+
["lamp black", fromHex(0x2e473b)],
|
|
97
|
+
["lavender", fromHex(0xe6e6fa)],
|
|
98
|
+
["lavender blush", fromHex(0xfff0f5)],
|
|
99
|
+
["lawn green", fromHex(0x7cfc00)],
|
|
100
|
+
["lemon chiffon", fromHex(0xfffacd)],
|
|
101
|
+
["light beige", fromHex(0xf5f5dc)],
|
|
102
|
+
["light goldenrod", fromHex(0xeedd82)],
|
|
103
|
+
["light grey", fromHex(0xd3d3d3)],
|
|
104
|
+
["light salmon", fromHex(0xffa07a)],
|
|
105
|
+
["lime green", fromHex(0x32cd32)],
|
|
106
|
+
["linen", fromHex(0xfaf0e6)],
|
|
107
|
+
["madder lake deep", fromHex(0xe32e30)],
|
|
108
|
+
["magenta", fromHex(0xff00ff)],
|
|
109
|
+
["manganese blue", fromHex(0x03a89e)],
|
|
110
|
+
["maroon", fromHex(0xb03060)],
|
|
111
|
+
["mars orange", fromHex(0x964514)],
|
|
112
|
+
["mars yellow", fromHex(0xe3701a)],
|
|
165
113
|
["melon", fromHex(0xe3a869)],
|
|
166
|
-
["
|
|
167
|
-
["
|
|
168
|
-
["
|
|
169
|
-
["
|
|
170
|
-
["
|
|
171
|
-
["
|
|
114
|
+
["midnight blue", fromHex(0x191970)],
|
|
115
|
+
["mint", fromHex(0xbdfcc9)],
|
|
116
|
+
["mint cream", fromHex(0xf5fffa)],
|
|
117
|
+
["misty rose", fromHex(0xffe4e1)],
|
|
118
|
+
["moccasin", fromHex(0xffe4b5)],
|
|
119
|
+
["naples yellow deep", fromHex(0xffa812)],
|
|
120
|
+
["navajo white", fromHex(0xffdead)],
|
|
121
|
+
["navy", fromHex(0x000080)],
|
|
122
|
+
["old lace", fromHex(0xfdf5e6)],
|
|
123
|
+
["olive", fromHex(0x3b5e2b)],
|
|
124
|
+
["olive drab", fromHex(0x6b8e23)],
|
|
125
|
+
["olive green dark", fromHex(0x556b2f)],
|
|
126
|
+
["orange", fromHex(0xff8000)],
|
|
127
|
+
["orange red", fromHex(0xff4500)],
|
|
172
128
|
["orchid", fromHex(0xda70d6)],
|
|
173
|
-
["
|
|
174
|
-
["
|
|
175
|
-
["
|
|
129
|
+
["orchid dark", fromHex(0x9932cc)],
|
|
130
|
+
["orchid medium", fromHex(0xba55d3)],
|
|
131
|
+
["papaya whip", fromHex(0xffefd5)],
|
|
132
|
+
["peach puff", fromHex(0xffdab9)],
|
|
133
|
+
["peacock", fromHex(0x33a1c9)],
|
|
134
|
+
["permanent green", fromHex(0x0ac92b)],
|
|
135
|
+
["permanent red violet", fromHex(0xdb2645)],
|
|
136
|
+
["peru", fromHex(0xcd853f)],
|
|
137
|
+
["pink", fromHex(0xffc0cb)],
|
|
138
|
+
["pink light", fromHex(0xffb6c1)],
|
|
176
139
|
["plum", fromHex(0xdda0dd)],
|
|
177
|
-
["
|
|
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)],
|
|
140
|
+
["powder blue", fromHex(0xb0e0e6)],
|
|
187
141
|
["purple", fromHex(0xa020f0)],
|
|
188
|
-
["
|
|
189
|
-
["
|
|
190
|
-
["
|
|
191
|
-
["
|
|
192
|
-
["
|
|
193
|
-
["
|
|
194
|
-
["
|
|
195
|
-
["
|
|
196
|
-
["
|
|
142
|
+
["purple medium", fromHex(0x9370db)],
|
|
143
|
+
["raspberry", fromHex(0x872657)],
|
|
144
|
+
["raw sienna", fromHex(0xc76114)],
|
|
145
|
+
["raw umber", fromHex(0x734a12)],
|
|
146
|
+
["red", fromHex(0xff0000)],
|
|
147
|
+
["rose madder", fromHex(0xe33638)],
|
|
148
|
+
["rosy brown", fromHex(0xbc8f8f)],
|
|
149
|
+
["royal blue", fromHex(0x4169e1)],
|
|
150
|
+
["saddle brown", fromHex(0x8b4513)],
|
|
151
|
+
["salmon", fromHex(0xfa8072)],
|
|
152
|
+
["sandy brown", fromHex(0xf4a460)],
|
|
153
|
+
["sap green", fromHex(0x308014)],
|
|
154
|
+
["sea green", fromHex(0x2e8b57)],
|
|
155
|
+
["sea green dark", fromHex(0x8fbc8f)],
|
|
156
|
+
["sea green light", fromHex(0x20b2aa)],
|
|
157
|
+
["sea green medium", fromHex(0x3cb371)],
|
|
158
|
+
["seashell", fromHex(0xfff5ee)],
|
|
159
|
+
["sepia", fromHex(0x5e2612)],
|
|
160
|
+
["sienna", fromHex(0xa0522d)],
|
|
161
|
+
["sky blue", fromHex(0x87ceeb)],
|
|
162
|
+
["sky blue deep", fromHex(0x00bfff)],
|
|
163
|
+
["sky blue light", fromHex(0x87cefa)],
|
|
164
|
+
["slate blue", fromHex(0x6a5acd)],
|
|
165
|
+
["slate blue dark", fromHex(0x483d8b)],
|
|
166
|
+
["slate blue light", fromHex(0x8470ff)],
|
|
167
|
+
["slate blue medium", fromHex(0x7b68ee)],
|
|
168
|
+
["slate grey", fromHex(0x708090)],
|
|
169
|
+
["slate grey dark", fromHex(0x2f4f4f)],
|
|
170
|
+
["slate grey light", fromHex(0x778899)],
|
|
171
|
+
["snow", fromHex(0xfffafa)],
|
|
172
|
+
["spring green", fromHex(0x00ff7f)],
|
|
173
|
+
["spring green medium", fromHex(0x00fa9a)],
|
|
174
|
+
["steel blue", fromHex(0x4682b4)],
|
|
175
|
+
["steel blue light", fromHex(0xb0c4de)],
|
|
176
|
+
["tan", fromHex(0xd2b48c)],
|
|
177
|
+
["terreverte", fromHex(0x385e0f)],
|
|
178
|
+
["thistle", fromHex(0xd8bfd8)],
|
|
179
|
+
["titanium white", fromHex(0xfcfff0)],
|
|
180
|
+
["tomato", fromHex(0xff6347)],
|
|
181
|
+
["turquoise", fromHex(0x40e0d0)],
|
|
182
|
+
["turquoise blue", fromHex(0x00c78c)],
|
|
183
|
+
["turquoise dark", fromHex(0x00ced1)],
|
|
184
|
+
["turquoise medium", fromHex(0x48d1cc)],
|
|
185
|
+
["turquoise pale", fromHex(0xafeeee)],
|
|
197
186
|
["ultramarine", fromHex(0x120a8f)],
|
|
198
|
-
["
|
|
199
|
-
["
|
|
200
|
-
["
|
|
187
|
+
["ultramarine violet", fromHex(0x5c246e)],
|
|
188
|
+
["vandyke brown", fromHex(0x5e2605)],
|
|
189
|
+
["venetian red", fromHex(0xd41a1f)],
|
|
190
|
+
["violet", fromHex(0x8f5e99)],
|
|
191
|
+
["violet dark", fromHex(0x9400d3)],
|
|
192
|
+
["violet red", fromHex(0xd02090)],
|
|
193
|
+
["violet red medium", fromHex(0xc71585)],
|
|
194
|
+
["violet red pale", fromHex(0xdb7093)],
|
|
195
|
+
["viridian light", fromHex(0x6eff70)],
|
|
196
|
+
["warm grey", fromHex(0x808069)],
|
|
197
|
+
["wheat", fromHex(0xf5deb3)],
|
|
198
|
+
["white", fromHex(0xffffff)],
|
|
199
|
+
["white smoke", fromHex(0xf5f5f5)],
|
|
200
|
+
["yellow", fromHex(0xffff00)],
|
|
201
|
+
["yellow green", fromHex(0x9acd32)],
|
|
202
|
+
["yellow light", fromHex(0xffffe0)],
|
|
203
|
+
["yellow ochre", fromHex(0xe38217)],
|
|
204
|
+
["zinc white", fromHex(0xfcf7ff)]
|
|
201
205
|
]);
|
|
202
206
|
|
|
203
207
|
export default hollasch;
|