How can the script display the color of the pixel, with the right mouse click on the screen?

    1 answer 1

    You can render the page image in Canvas (for example, using the html2canvas library), and then getting the color of any pixel is not difficult. Disadvantage: will not work in browsers that do not support Canvas (IE 8 and below).