@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.
Files changed (368) hide show
  1. package/LICENSE +1 -1
  2. package/dist/{utility → convert}/adobeToXyz.d.ts +1 -1
  3. package/dist/convert/adobeToXyz.d.ts.map +1 -0
  4. package/dist/{utility → convert}/adobeToXyz.js +5 -3
  5. package/dist/convert/adobeToXyz.js.map +1 -0
  6. package/dist/{utility → convert}/cmyToCmyk.d.ts +1 -1
  7. package/dist/convert/cmyToCmyk.d.ts.map +1 -0
  8. package/dist/{utility → convert}/cmyToCmyk.js +0 -3
  9. package/dist/convert/cmyToCmyk.js.map +1 -0
  10. package/dist/{utility → convert}/cmyToRgb.d.ts +1 -1
  11. package/dist/{utility → convert}/cmyToRgb.d.ts.map +1 -1
  12. package/dist/{utility → convert}/cmyToRgb.js.map +1 -1
  13. package/dist/{utility → convert}/cmykToCmy.d.ts +1 -1
  14. package/dist/{utility → convert}/cmykToCmy.d.ts.map +1 -1
  15. package/dist/{utility → convert}/cmykToCmy.js +0 -1
  16. package/dist/convert/cmykToCmy.js.map +1 -0
  17. package/dist/{utility → convert}/hexToRgb.d.ts +1 -1
  18. package/dist/convert/hexToRgb.d.ts.map +1 -0
  19. package/dist/{utility → convert}/hexToRgb.js.map +1 -1
  20. package/dist/{utility → convert}/hslToRgb.d.ts +1 -1
  21. package/dist/convert/hslToRgb.d.ts.map +1 -0
  22. package/dist/{utility → convert}/hslToRgb.js +5 -6
  23. package/dist/convert/hslToRgb.js.map +1 -0
  24. package/dist/{utility → convert}/hsvToRgb.d.ts +1 -1
  25. package/dist/{utility → convert}/hsvToRgb.d.ts.map +1 -1
  26. package/dist/{utility → convert}/hsvToRgb.js +0 -2
  27. package/dist/convert/hsvToRgb.js.map +1 -0
  28. package/dist/{utility → convert}/hunterToXyz.d.ts +1 -1
  29. package/dist/convert/hunterToXyz.d.ts.map +1 -0
  30. package/dist/{utility → convert}/hunterToXyz.js +6 -7
  31. package/dist/convert/hunterToXyz.js.map +1 -0
  32. package/dist/convert/labToLch.d.ts +19 -0
  33. package/dist/convert/labToLch.d.ts.map +1 -0
  34. package/dist/convert/labToLch.js +12 -0
  35. package/dist/convert/labToLch.js.map +1 -0
  36. package/dist/{utility → convert}/labToXyz.d.ts +1 -1
  37. package/dist/convert/labToXyz.d.ts.map +1 -0
  38. package/dist/{utility → convert}/labToXyz.js +8 -5
  39. package/dist/convert/labToXyz.js.map +1 -0
  40. package/dist/convert/lchToLab.d.ts +19 -0
  41. package/dist/convert/lchToLab.d.ts.map +1 -0
  42. package/dist/convert/lchToLab.js +7 -0
  43. package/dist/convert/lchToLab.js.map +1 -0
  44. package/dist/{utility → convert}/luvToXyz.d.ts +1 -1
  45. package/dist/convert/luvToXyz.d.ts.map +1 -0
  46. package/dist/{utility → convert}/luvToXyz.js +4 -6
  47. package/dist/convert/luvToXyz.js.map +1 -0
  48. package/dist/{utility → convert}/rgbToCmy.d.ts +1 -1
  49. package/dist/{utility → convert}/rgbToCmy.d.ts.map +1 -1
  50. package/dist/{utility → convert}/rgbToCmy.js.map +1 -1
  51. package/dist/{utility → convert}/rgbToHex.d.ts.map +1 -1
  52. package/dist/{utility → convert}/rgbToHex.js +3 -1
  53. package/dist/convert/rgbToHex.js.map +1 -0
  54. package/dist/convert/rgbToHsi.d.ts +10 -0
  55. package/dist/convert/rgbToHsi.d.ts.map +1 -0
  56. package/dist/convert/rgbToHsi.js +36 -0
  57. package/dist/convert/rgbToHsi.js.map +1 -0
  58. package/dist/{utility → convert}/rgbToHsl.d.ts +1 -1
  59. package/dist/convert/rgbToHsl.d.ts.map +1 -0
  60. package/dist/convert/rgbToHsl.js +37 -0
  61. package/dist/convert/rgbToHsl.js.map +1 -0
  62. package/dist/{utility → convert}/rgbToHsv.d.ts +1 -1
  63. package/dist/convert/rgbToHsv.d.ts.map +1 -0
  64. package/dist/{utility → convert}/rgbToHsv.js +11 -11
  65. package/dist/convert/rgbToHsv.js.map +1 -0
  66. package/dist/{utility → convert}/rgbToXyz.d.ts +1 -1
  67. package/dist/convert/rgbToXyz.d.ts.map +1 -0
  68. package/dist/{utility → convert}/rgbToXyz.js +9 -3
  69. package/dist/convert/rgbToXyz.js.map +1 -0
  70. package/dist/{utility → convert}/xyzToAdobe.d.ts +1 -1
  71. package/dist/convert/xyzToAdobe.d.ts.map +1 -0
  72. package/dist/{utility → convert}/xyzToAdobe.js +5 -3
  73. package/dist/convert/xyzToAdobe.js.map +1 -0
  74. package/dist/{utility → convert}/xyzToHunter.d.ts +2 -2
  75. package/dist/convert/xyzToHunter.d.ts.map +1 -0
  76. package/dist/{utility → convert}/xyzToHunter.js +7 -8
  77. package/dist/convert/xyzToHunter.js.map +1 -0
  78. package/dist/{utility → convert}/xyzToLab.d.ts +1 -1
  79. package/dist/convert/xyzToLab.d.ts.map +1 -0
  80. package/dist/{utility → convert}/xyzToLab.js +9 -5
  81. package/dist/convert/xyzToLab.js.map +1 -0
  82. package/dist/{utility → convert}/xyzToLuv.d.ts +1 -1
  83. package/dist/convert/xyzToLuv.d.ts.map +1 -0
  84. package/dist/{utility → convert}/xyzToLuv.js +5 -7
  85. package/dist/convert/xyzToLuv.js.map +1 -0
  86. package/dist/{utility → convert}/xyzToRgb.d.ts +1 -1
  87. package/dist/convert/xyzToRgb.d.ts.map +1 -0
  88. package/dist/{utility → convert}/xyzToRgb.js +8 -3
  89. package/dist/convert/xyzToRgb.js.map +1 -0
  90. package/dist/{utility → convert}/xyzToYxy.d.ts +1 -1
  91. package/dist/{utility → convert}/xyzToYxy.d.ts.map +1 -1
  92. package/dist/{utility → convert}/xyzToYxy.js +0 -3
  93. package/dist/convert/xyzToYxy.js.map +1 -0
  94. package/dist/{utility → convert}/yxyToXyz.d.ts +1 -1
  95. package/dist/{utility → convert}/yxyToXyz.d.ts.map +1 -1
  96. package/dist/{utility → convert}/yxyToXyz.js +0 -3
  97. package/dist/convert/yxyToXyz.js.map +1 -0
  98. package/dist/delta/deltaC.d.ts.map +1 -0
  99. package/dist/delta/deltaC.js.map +1 -0
  100. package/dist/{utility → delta}/deltaCmc.d.ts +2 -2
  101. package/dist/delta/deltaCmc.d.ts.map +1 -0
  102. package/dist/{utility → delta}/deltaCmc.js +5 -8
  103. package/dist/delta/deltaCmc.js.map +1 -0
  104. package/dist/{utility → delta}/deltaE00.d.ts +2 -2
  105. package/dist/delta/deltaE00.d.ts.map +1 -0
  106. package/dist/{utility → delta}/deltaE00.js +13 -17
  107. package/dist/delta/deltaE00.js.map +1 -0
  108. package/dist/delta/deltaE76.d.ts.map +1 -0
  109. package/dist/delta/deltaE76.js.map +1 -0
  110. package/dist/{utility → delta}/deltaE94.d.ts +2 -2
  111. package/dist/delta/deltaE94.d.ts.map +1 -0
  112. package/dist/{utility → delta}/deltaE94.js +0 -6
  113. package/dist/delta/deltaE94.js.map +1 -0
  114. package/dist/delta/deltaH.d.ts.map +1 -0
  115. package/dist/{utility → delta}/deltaH.js +0 -4
  116. package/dist/delta/deltaH.js.map +1 -0
  117. package/dist/index.d.ts +41 -31
  118. package/dist/index.d.ts.map +1 -1
  119. package/dist/index.js +41 -30
  120. package/dist/index.js.map +1 -1
  121. package/dist/names/bang.d.ts +2 -2
  122. package/dist/names/bang.d.ts.map +1 -1
  123. package/dist/names/bang.js +471 -471
  124. package/dist/names/bang.js.map +1 -1
  125. package/dist/names/cne.d.ts +1 -1
  126. package/dist/names/cne.d.ts.map +1 -1
  127. package/dist/names/cne.js +843 -843
  128. package/dist/names/cne.js.map +1 -1
  129. package/dist/names/crayola.d.ts +1 -1
  130. package/dist/names/crayola.d.ts.map +1 -1
  131. package/dist/names/crayola.js +110 -110
  132. package/dist/names/crayola.js.map +1 -1
  133. package/dist/names/getName.d.ts.map +1 -1
  134. package/dist/names/getName.js +3 -3
  135. package/dist/names/getName.js.map +1 -1
  136. package/dist/names/hollasch.d.ts +1 -1
  137. package/dist/names/hollasch.d.ts.map +1 -1
  138. package/dist/names/hollasch.js +179 -179
  139. package/dist/names/hollasch.js.map +1 -1
  140. package/dist/names/nbs.d.ts +1 -1
  141. package/dist/names/nbs.d.ts.map +1 -1
  142. package/dist/names/nbs.js +266 -266
  143. package/dist/names/nbs.js.map +1 -1
  144. package/dist/names/ntc.d.ts +1 -1
  145. package/dist/names/ntc.d.ts.map +1 -1
  146. package/dist/names/ntc.js +1519 -1519
  147. package/dist/names/ntc.js.map +1 -1
  148. package/dist/names/resene.d.ts +1 -1
  149. package/dist/names/resene.d.ts.map +1 -1
  150. package/dist/names/resene.js +1331 -1331
  151. package/dist/names/resene.js.map +1 -1
  152. package/dist/names/tcapi.d.ts +1 -1
  153. package/dist/names/tcapi.d.ts.map +1 -1
  154. package/dist/names/tcapi.js +1840 -1840
  155. package/dist/names/tcapi.js.map +1 -1
  156. package/dist/names/x11.d.ts +1 -1
  157. package/dist/names/x11.d.ts.map +1 -1
  158. package/dist/names/x11.js +445 -445
  159. package/dist/names/x11.js.map +1 -1
  160. package/dist/names/xkcd.d.ts +1 -1
  161. package/dist/names/xkcd.d.ts.map +1 -1
  162. package/dist/names/xkcd.js +897 -897
  163. package/dist/names/xkcd.js.map +1 -1
  164. package/dist/palette/analogous.d.ts +28 -0
  165. package/dist/palette/analogous.d.ts.map +1 -0
  166. package/dist/palette/analogous.js +15 -0
  167. package/dist/palette/analogous.js.map +1 -0
  168. package/dist/palette/analogousLch.d.ts +19 -0
  169. package/dist/palette/analogousLch.d.ts.map +1 -0
  170. package/dist/palette/analogousLch.js +15 -0
  171. package/dist/palette/analogousLch.js.map +1 -0
  172. package/dist/palette/complement.d.ts +28 -0
  173. package/dist/palette/complement.d.ts.map +1 -0
  174. package/dist/palette/complement.js +15 -0
  175. package/dist/palette/complement.js.map +1 -0
  176. package/dist/palette/complementLch.d.ts +19 -0
  177. package/dist/palette/complementLch.d.ts.map +1 -0
  178. package/dist/palette/complementLch.js +15 -0
  179. package/dist/palette/complementLch.js.map +1 -0
  180. package/dist/palette/splitComplement.d.ts +28 -0
  181. package/dist/palette/splitComplement.d.ts.map +1 -0
  182. package/dist/palette/splitComplement.js +15 -0
  183. package/dist/palette/splitComplement.js.map +1 -0
  184. package/dist/palette/splitComplementLch.d.ts +19 -0
  185. package/dist/palette/splitComplementLch.d.ts.map +1 -0
  186. package/dist/palette/splitComplementLch.js +15 -0
  187. package/dist/palette/splitComplementLch.js.map +1 -0
  188. package/dist/types/Adobe.d.ts.map +1 -1
  189. package/dist/types/Cmy.d.ts.map +1 -1
  190. package/dist/types/Cmyk.d.ts.map +1 -1
  191. package/dist/types/Hsi.d.ts +15 -0
  192. package/dist/types/Hsi.d.ts.map +1 -0
  193. package/dist/types/Hsi.js +2 -0
  194. package/dist/types/Hsi.js.map +1 -0
  195. package/dist/types/Hsl.d.ts +1 -1
  196. package/dist/types/Hsl.d.ts.map +1 -1
  197. package/dist/types/Hsv.d.ts +1 -1
  198. package/dist/types/Hsv.d.ts.map +1 -1
  199. package/dist/types/Hunter.d.ts.map +1 -1
  200. package/dist/types/Lab.d.ts +2 -2
  201. package/dist/types/Lab.d.ts.map +1 -1
  202. package/dist/types/Lchab.d.ts +15 -0
  203. package/dist/types/Lchab.d.ts.map +1 -0
  204. package/dist/types/Lchab.js +2 -0
  205. package/dist/types/Lchab.js.map +1 -0
  206. package/dist/types/Lchuv.d.ts +15 -0
  207. package/dist/types/Lchuv.d.ts.map +1 -0
  208. package/dist/types/Lchuv.js +2 -0
  209. package/dist/types/Lchuv.js.map +1 -0
  210. package/dist/types/Luv.d.ts +1 -1
  211. package/dist/types/Luv.d.ts.map +1 -1
  212. package/dist/types/Rgb.d.ts.map +1 -1
  213. package/dist/types/Xyz.d.ts.map +1 -1
  214. package/dist/types/Yxy.d.ts.map +1 -1
  215. package/dist/utility/StandardIlluminant.d.ts.map +1 -1
  216. package/dist/utility/StandardIlluminant.js.map +1 -1
  217. package/dist/utility/contrast.d.ts.map +1 -1
  218. package/dist/utility/contrast.js.map +1 -1
  219. package/dist/utility/getReference.d.ts +2 -2
  220. package/dist/utility/getReference.d.ts.map +1 -1
  221. package/dist/utility/getReference.js +39 -39
  222. package/dist/utility/getReference.js.map +1 -1
  223. package/dist/utility/isWebSafe.d.ts +10 -0
  224. package/dist/utility/isWebSafe.d.ts.map +1 -0
  225. package/dist/utility/isWebSafe.js +11 -0
  226. package/dist/utility/isWebSafe.js.map +1 -0
  227. package/dist/utility/relativeLuminance.js.map +1 -1
  228. package/package.json +15 -15
  229. package/src/{utility → convert}/adobeToXyz.ts +10 -4
  230. package/src/{utility → convert}/cmyToCmyk.ts +5 -4
  231. package/src/{utility → convert}/cmyToRgb.ts +1 -1
  232. package/src/{utility → convert}/cmykToCmy.ts +1 -2
  233. package/src/{utility → convert}/hexToRgb.ts +1 -1
  234. package/src/{utility → convert}/hslToRgb.ts +9 -7
  235. package/src/{utility → convert}/hsvToRgb.ts +2 -3
  236. package/src/{utility → convert}/hunterToXyz.ts +11 -8
  237. package/src/convert/labToLch.ts +36 -0
  238. package/src/{utility → convert}/labToXyz.ts +11 -6
  239. package/src/convert/lchToLab.ts +30 -0
  240. package/src/{utility → convert}/luvToXyz.ts +9 -7
  241. package/src/{utility → convert}/rgbToCmy.ts +1 -1
  242. package/src/{utility → convert}/rgbToHex.ts +5 -1
  243. package/src/convert/rgbToHsi.ts +43 -0
  244. package/src/convert/rgbToHsl.ts +44 -0
  245. package/src/{utility → convert}/rgbToHsv.ts +14 -13
  246. package/src/{utility → convert}/rgbToXyz.ts +11 -4
  247. package/src/{utility → convert}/xyzToAdobe.ts +9 -4
  248. package/src/{utility → convert}/xyzToHunter.ts +12 -9
  249. package/src/{utility → convert}/xyzToLab.ts +12 -6
  250. package/src/{utility → convert}/xyzToLuv.ts +11 -9
  251. package/src/{utility → convert}/xyzToRgb.ts +10 -4
  252. package/src/{utility → convert}/xyzToYxy.ts +3 -4
  253. package/src/{utility → convert}/yxyToXyz.ts +3 -4
  254. package/src/{utility → delta}/deltaC.ts +0 -2
  255. package/src/{utility → delta}/deltaCmc.ts +12 -10
  256. package/src/{utility → delta}/deltaE00.ts +21 -18
  257. package/src/{utility → delta}/deltaE76.ts +0 -2
  258. package/src/{utility → delta}/deltaE94.ts +7 -8
  259. package/src/{utility → delta}/deltaH.ts +3 -6
  260. package/src/index.ts +47 -31
  261. package/src/names/bang.ts +476 -472
  262. package/src/names/cne.ts +848 -844
  263. package/src/names/crayola.ts +115 -111
  264. package/src/names/getName.ts +4 -3
  265. package/src/names/hollasch.ts +184 -180
  266. package/src/names/nbs.ts +271 -267
  267. package/src/names/ntc.ts +1524 -1520
  268. package/src/names/resene.ts +1336 -1332
  269. package/src/names/tcapi.ts +1845 -1841
  270. package/src/names/x11.ts +450 -446
  271. package/src/names/xkcd.ts +902 -898
  272. package/src/palette/analogous.ts +61 -0
  273. package/src/palette/analogousLch.ts +49 -0
  274. package/src/palette/complement.ts +65 -0
  275. package/src/palette/complementLch.ts +50 -0
  276. package/src/palette/splitComplement.ts +61 -0
  277. package/src/palette/splitComplementLch.ts +48 -0
  278. package/src/types/Adobe.ts +3 -0
  279. package/src/types/Cmy.ts +3 -0
  280. package/src/types/Cmyk.ts +4 -0
  281. package/src/types/Hsi.ts +20 -0
  282. package/src/types/Hsl.ts +4 -1
  283. package/src/types/Hsv.ts +4 -1
  284. package/src/types/Hunter.ts +3 -0
  285. package/src/types/Lab.ts +5 -2
  286. package/src/types/Lchab.ts +20 -0
  287. package/src/types/Lchuv.ts +20 -0
  288. package/src/types/Luv.ts +4 -1
  289. package/src/types/Rgb.ts +3 -0
  290. package/src/types/Xyz.ts +3 -0
  291. package/src/types/Yxy.ts +3 -0
  292. package/src/utility/StandardIlluminant.ts +40 -40
  293. package/src/utility/contrast.ts +1 -0
  294. package/src/utility/getReference.ts +42 -41
  295. package/src/utility/isWebSafe.ts +14 -0
  296. package/src/utility/relativeLuminance.ts +1 -1
  297. package/dist/types/Lch.d.ts +0 -16
  298. package/dist/types/Lch.d.ts.map +0 -1
  299. package/dist/types/Lch.js +0 -2
  300. package/dist/types/Lch.js.map +0 -1
  301. package/dist/utility/adobeToXyz.d.ts.map +0 -1
  302. package/dist/utility/adobeToXyz.js.map +0 -1
  303. package/dist/utility/cmyToCmyk.d.ts.map +0 -1
  304. package/dist/utility/cmyToCmyk.js.map +0 -1
  305. package/dist/utility/cmykToCmy.js.map +0 -1
  306. package/dist/utility/deltaC.d.ts.map +0 -1
  307. package/dist/utility/deltaC.js.map +0 -1
  308. package/dist/utility/deltaCmc.d.ts.map +0 -1
  309. package/dist/utility/deltaCmc.js.map +0 -1
  310. package/dist/utility/deltaE00.d.ts.map +0 -1
  311. package/dist/utility/deltaE00.js.map +0 -1
  312. package/dist/utility/deltaE76.d.ts.map +0 -1
  313. package/dist/utility/deltaE76.js.map +0 -1
  314. package/dist/utility/deltaE94.d.ts.map +0 -1
  315. package/dist/utility/deltaE94.js.map +0 -1
  316. package/dist/utility/deltaH.d.ts.map +0 -1
  317. package/dist/utility/deltaH.js.map +0 -1
  318. package/dist/utility/hexToRgb.d.ts.map +0 -1
  319. package/dist/utility/hslToRgb.d.ts.map +0 -1
  320. package/dist/utility/hslToRgb.js.map +0 -1
  321. package/dist/utility/hsvToRgb.js.map +0 -1
  322. package/dist/utility/hunterToXyz.d.ts.map +0 -1
  323. package/dist/utility/hunterToXyz.js.map +0 -1
  324. package/dist/utility/labToLch.d.ts +0 -11
  325. package/dist/utility/labToLch.d.ts.map +0 -1
  326. package/dist/utility/labToLch.js +0 -19
  327. package/dist/utility/labToLch.js.map +0 -1
  328. package/dist/utility/labToXyz.d.ts.map +0 -1
  329. package/dist/utility/labToXyz.js.map +0 -1
  330. package/dist/utility/lchToLab.d.ts +0 -11
  331. package/dist/utility/lchToLab.d.ts.map +0 -1
  332. package/dist/utility/lchToLab.js +0 -14
  333. package/dist/utility/lchToLab.js.map +0 -1
  334. package/dist/utility/luvToXyz.d.ts.map +0 -1
  335. package/dist/utility/luvToXyz.js.map +0 -1
  336. package/dist/utility/rgbToHex.js.map +0 -1
  337. package/dist/utility/rgbToHsl.d.ts.map +0 -1
  338. package/dist/utility/rgbToHsl.js +0 -31
  339. package/dist/utility/rgbToHsl.js.map +0 -1
  340. package/dist/utility/rgbToHsv.d.ts.map +0 -1
  341. package/dist/utility/rgbToHsv.js.map +0 -1
  342. package/dist/utility/rgbToXyz.d.ts.map +0 -1
  343. package/dist/utility/rgbToXyz.js.map +0 -1
  344. package/dist/utility/xyzToAdobe.d.ts.map +0 -1
  345. package/dist/utility/xyzToAdobe.js.map +0 -1
  346. package/dist/utility/xyzToHunter.d.ts.map +0 -1
  347. package/dist/utility/xyzToHunter.js.map +0 -1
  348. package/dist/utility/xyzToLab.d.ts.map +0 -1
  349. package/dist/utility/xyzToLab.js.map +0 -1
  350. package/dist/utility/xyzToLuv.d.ts.map +0 -1
  351. package/dist/utility/xyzToLuv.js.map +0 -1
  352. package/dist/utility/xyzToRgb.d.ts.map +0 -1
  353. package/dist/utility/xyzToRgb.js.map +0 -1
  354. package/dist/utility/xyzToYxy.js.map +0 -1
  355. package/dist/utility/yxyToXyz.js.map +0 -1
  356. package/src/types/Lch.ts +0 -18
  357. package/src/utility/labToLch.ts +0 -24
  358. package/src/utility/lchToLab.ts +0 -18
  359. package/src/utility/rgbToHsl.ts +0 -38
  360. /package/dist/{utility → convert}/cmyToRgb.js +0 -0
  361. /package/dist/{utility → convert}/hexToRgb.js +0 -0
  362. /package/dist/{utility → convert}/rgbToCmy.js +0 -0
  363. /package/dist/{utility → convert}/rgbToHex.d.ts +0 -0
  364. /package/dist/{utility → delta}/deltaC.d.ts +0 -0
  365. /package/dist/{utility → delta}/deltaC.js +0 -0
  366. /package/dist/{utility → delta}/deltaE76.d.ts +0 -0
  367. /package/dist/{utility → delta}/deltaE76.js +0 -0
  368. /package/dist/{utility → delta}/deltaH.d.ts +0 -0
@@ -1,132 +1,136 @@
1
1
  import type Rgb from "../types/Rgb.js";
2
- import fromHex from "../utility/hexToRgb.js";
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<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)],
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
- ["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)],
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
- ["fuzzywuzzybrown", fromHex(0xcc6666)],
71
- ["maroon", fromHex(0xc8385a)],
72
- ["jazzberryjam", fromHex(0xc63061)],
73
- ["brickred", fromHex(0xcb4154)],
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
- ["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)],
68
+ ["manatee", fromHex(0x979aaa)],
69
+ ["mango tango", fromHex(0xff8243)],
70
+ ["maroon", fromHex(0xc8385a)],
71
+ ["mauvelous", fromHex(0xef98aa)],
83
72
  ["melon", fromHex(0xfdbcb4)],
84
- ["macaroniandcheese", fromHex(0xffbd88)],
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
- ["vividtangerine", fromHex(0xffa089)],
87
- ["bittersweet", fromHex(0xfd7c6e)],
88
- ["copper", fromHex(0xdd9475)],
89
- ["atomictangerine", fromHex(0xffa474)],
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
- ["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)],
120
+ ["turquoise blue", fromHex(0x77dde7)],
121
+ ["unmellow yellow", fromHex(0xfdfc74)],
124
122
  ["violet", fromHex(0x926eae)],
125
- ["blueviolet", fromHex(0x7366bd)],
126
- ["indigo", fromHex(0x5d76cb)],
127
- ["blue", fromHex(0x1f75fe)],
128
- ["royalpurple", fromHex(0x7851a9)],
129
- ["purpleheart", fromHex(0x7442c8)]
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;
@@ -1,9 +1,10 @@
1
1
  import type { Color } from "../types/Color.js";
2
2
  import type Rgb from "../types/Rgb.js";
3
- import deltaE00 from "../utility/deltaE00.js";
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.
@@ -1,203 +1,207 @@
1
1
  import type Rgb from "../types/Rgb.js";
2
- import fromHex from "../utility/hexToRgb.js";
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<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)],
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
- ["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)],
18
+ ["aquamarine medium", fromHex(0x66cdaa)],
19
+ ["aureoline yellow", fromHex(0xffa824)],
20
+ ["azure", fromHex(0xf0ffff)],
90
21
  ["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)],
22
+ ["beige", fromHex(0xa39480)],
23
+ ["bisque", fromHex(0xffe4c4)],
107
24
  ["black", fromHex(0x000000)],
108
- ["chromeoxidegreen", fromHex(0x668014)],
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
- ["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)],
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
- ["yellowochre", fromHex(0xe38217)],
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
- ["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)],
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
- ["rosybrown", fromHex(0xbc8f8f)],
167
- ["violetredpale", fromHex(0xdb7093)],
168
- ["rosemadder", fromHex(0xe33638)],
169
- ["madderlakedeep", fromHex(0xe32e30)],
170
- ["deeppink", fromHex(0xff1493)],
171
- ["orchidmedium", fromHex(0xba55d3)],
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
- ["hotpink", fromHex(0xff69b4)],
174
- ["purplemedium", fromHex(0x9370db)],
175
- ["cornflower", fromHex(0x6495ed)],
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
- ["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)],
140
+ ["powder blue", fromHex(0xb0e0e6)],
187
141
  ["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)],
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
- ["navy", fromHex(0x000080)],
199
- ["midnightblue", fromHex(0x191970)],
200
- ["indigo", fromHex(0x2e0854)]
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;