0

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??

Shijilal
  • 2,175
  • 10
  • 32
  • 55

1 Answers1

3

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".

RubbleFord
  • 7,456
  • 9
  • 50
  • 80
  • though i didn't got the perfect answer i was searching for..this answer made me think in a different perspective and i got my problem solved – Shijilal Mar 25 '11 at 02:17