<eye-dropper>

A custom element that implements the EyeDropper API that allows the user to select colors from the screen.

Source code & documentation

Demo

Click the button below to open the color picker. Then click anywhere on the screen, even outside the browser window, to pick a color.

License

The MIT License (MIT)