I am looking for an eyedropper tool that gives me the hex value of the pixel on which the mouse cursor is located, in JavaScript for CMS.
There is a great ColorZilla extension for Firefox that does just that. However, this is only FF, and I really would like to deliver the tool along with the CMS.
The Dutch developer had a very clever idea using a combination of Ajax and PHP imagecolorat() to find out the color of the pixel in the image. But this limits the range of images that I can get on the server side , and I really dream of a universal tool.
I will work with one of these approaches, but would prefer to use a cross-browser, Javascript or Flash method, which does not require server-side downloads and without installing extensions.
I am also interested in any IE-specific solutions that do what ColorZilla can do - I could only live with IE and FF support, although a cross-browser solution would certainly be ideal.
javascript jquery colors selection color-picker
Pekka 웃 Dec 20 '09 at 14:42 2009-12-20 14:42
source share