Question

I have an asp.net page which displays different colors..It looks something like this.

enter image description here

Now what i want is,when i click on any where in that form,i want to get the pixel color of that particular point. How can i do that??

Was it helpful?

Solution

I'd use jquery and put a click event on each of the area's. I'd put the colour into the id of each of the areas, something like id="colour-#d9d9d9".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top