simonwep / pickr

🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
https://simonwep.github.io/pickr
MIT License
4.31k stars 285 forks source link

Eyedropper #225

Closed jaschaio closed 4 years ago

jaschaio commented 4 years ago

I would love if pickr had the option of displaying and using an eyedropper as well. This could work very similar to the one within Google Chrome's Developer Tools:

eyedropper

I guess the pixel grid preview is a bonus and not necessary.

jaschaio commented 4 years ago

Ok, maybe I was a bit naive because I thought it might be possible to get colors below the mouse cursor via JS – but apparently it's not or at least not straight forward at all. If you like keep this as a reference in case anybody else has the same idea 😂