🎨 ⚡ Creates word-color associations.
- make all client-side, no server
- can't use cheerio front-end?, need to replace somehow...
- implement caching via online JSON storage solution
- use https://www.npmjs.com/package/color-sort to display results
Or locally:
$ git clone https://github.com/cktang88/word-color
$ cd word-color
$ npm i
$ npm start
Go to http://localhost:1234 in your browser.
🔥 🔥 🔥
- Scrapes top images of the word from search engines.
- For each image, use MMCQ (modified median cut quantization) to extract a palette of dominant colors.
- Average palettes of all images to get final palette.