2019-08-25 19:10:45 -07:00
2019-08-25 18:29:35 -07:00
2019-04-27 22:59:45 -07:00
2019-05-26 22:12:17 -07:00
2019-07-14 08:38:18 -07:00
2019-04-27 20:52:10 -07:00
2019-08-04 08:52:14 -07:00
2019-08-25 19:10:45 -07:00

Color Thief

Grab the color palette from an image using just Javascript.Works in the browser and in Node.

🌈 View the demo page for examples, API docs, and more.


Contributing

Running tests

Run Cypress integration tests in Chrome browser.

  • npm run dev to start local server.
  • npm run test

Adding tests

  • Update cypress/test-pages/index.html as needed or create a new test page if you need new examples.
  • Add new tests in cypress/integration/apis_spec.js

Making a new release

  • Merge dev into master
  • Pull down master
  • Update version number in src/color-thief.js and package.json
  • Run npm run build
  • Commit and push built files back up to master
  • Create a new Github release along with tag. Naming convention for both v2.8.1
  • npm publish
Description
Extract colors from an image in Node.js and browser. Mirror of my fork from https://github.com/janishutz/color-thief
Readme MIT 2.1 MiB
Languages
TypeScript 43.1%
JavaScript 36.2%
HTML 16.6%
CSS 4.1%