How can I get the pixel color value of an image in javascript?
Click on the image to create a red circle.
so that a red circle is created in the forest, I don't want the red circle to be created outside the forest.
For this, I want to compare the backgroundcolor and the background value of the red circle created by clicking.
I am wondering how can I get the pixel color value of the clicked image.