A simple, easy to use vanilla JS (no dependencies) color picker with alpha selection.
For the pros:
npm install vanilla-picker --save
import Picker from 'vanilla-picker';
For the rest of us:
API and advanced options
The color picker is built to support basic keyboard navigation and use with screen readers. I would be very interested in feedback on improvements that could be done here!
- Based on https://github.com/dissimulate/Picker by Adam Brooks
- Built with https://github.com/Joudee/color-conversion by Joudee
- Built with https://gist.github.com/mjackson/5311256 by Michael Jackson
The ISC license - see the LICENSE.md file for details.