Intent to Prototype: EyeDropper API

Skip to first unread message

Ionel Popescu

Dec 16, 2020, 4:49:18 PM12/16/20
to, Bo Cupp

Contact emails,,,





The EyeDropper API enables developers to use a browser-supplied eyedropper in the construction of custom color pickers.

Blink component



Creative applications built for the web could benefit from an ability to sample a color from pixels on the screen. Many "native" applications, e.g. PowerPoint, have this ability but are unable to carry it over their web equivalents.   Even though some browsers have eyedropper capability built into <input type=color> elements, web applications are limited in their ability to integrate this into their custom color picker UX since the eyedropper is generally accessible only through the non-customizable popup UI of the <input type=color> control.

Initial public proposal


TAG review

TAG review status



Interoperability and Compatibility

Interoperability risks:
The new API can be feature-detected by checking for the existence of the EyeDropper interface on the window object. On browsers without support, web apps can invoke the full color picker programmatically.

Edge: Public support

Gecko: No signal

WebKit: No signal

Web developers: Positive


No special support is needed.

Is this feature fully tested by web-platform-tests?

Not yet, but WPT tests will be added during development.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Initially we are planning to support this only on desktop operating systems and will consider bringing it to mobile if there is demand.

Tracking bug

Link to entry on the Chrome Platform Status

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
0 new messages