ASP.NET : Get PixelColor on mouse click on asp.net page
-
28-10-2019 - |
Question
I have an asp.net page which displays different colors..It looks something like this.
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??
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