I am looking for an "Eyedropper" tool, that gives me the hex value of the pixel the mouse cursor is under, in Javascript for a CMS.
For Firefox, there is the excellent ColorZilla extension that does exactly that. However, it's FF only of course, and I would really like to deliver the tool along with the CMS.
A dutch developer has had the very clever idea of using a combination of Ajax and PHP's imagecolorat()
to find out the Pixel colour on an image. But that limits the range to images I can access server side, and I'm really dreaming of a universal tool.
I will work with one of these approaches, but would much prefer a cross-browser, Javascript or Flash based way that requires no server-side fiddling and no installing of extensions.
I am also interested in any IE specific solutions that do what ColorZilla can do - I could live with supporting IE and FF only, though a cross browser solution would of course be ideal.