Add a color picker to your web app with the EyeDropper API
For developers who want to add color picking functionality to their apps, it may soon be possible with the help of the EyeDropper API. This experimental Web API allows you to capture the value of a single pixel on the screen - not just in the browser window, but anywhere on your screen!
Harrison Grieve on May 20, 2022