EyeDropper API browser support
Published
The EyeDropper API opens a browser-supplied eyedropper so a custom color picker can sample any on-screen pixel and read it back as an sRGBHex string.
MDN browser-compat-data records support for the top-level EyeDropper interface under api.EyeDropper. The ChromeOS version floor and the Linux Wayland limitation appear as row footnotes.
- Legend
- Yes
- Partial
- Flag
- No
- Unknown
| Browser / Platform | Support | Versions | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop)# | Yes | 95 | high | source | 12 |
| Chrome (Android)# | No | — | high | source | 3 |
| Edge (Desktop)# | Yes | 95 | high | source | 456 |
| Firefox (Desktop)# | No | — | high | source | 7 |
| Firefox (Android)# | No | — | high | source | 89 |
| Safari (macOS)# | No | — | high | source | 10 |
| Safari (iOS)# | No | — | high | source | 1112 |
| Samsung Internet# | No | — | high | source | 1314 |
| WebView (Android)# | No | — | high | source | 15 |
- Before Chrome 120, the EyeDropper API is not available on ChromeOS. See bug 40720753 (https://crbug.com/40720753).
- Available on Linux X11, but not available on Linux Wayland. See bug 40720753 (https://crbug.com/40720753).
- No Chrome Android support is recorded in browser-compat-data.
- Before Chrome 120, the EyeDropper API is not available on ChromeOS. See bug 40720753 (https://crbug.com/40720753).
- Available on Linux X11, but not available on Linux Wayland. See bug 40720753 (https://crbug.com/40720753).
- Derived by browser-compat-data mirroring from Chrome.
- No Firefox support is recorded in browser-compat-data.
- No Firefox for Android support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Firefox.
- No Safari support is recorded in browser-compat-data.
- No Safari on iOS support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Safari.
- No Samsung Internet support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Chrome Android.
- Implementation tracking: https://crbug.com/40791573.
Cite this table
EyeDropper API compatibility data — OpenPWA · Verified 2026-10-03 · CC BY 4.0 · JSON
When reusing compatibility data, keep the attribution, identify your changes and check each row’s original source. This citation excludes market-share and reach figures, which use CC BY-SA 4.0.
Call requirements and errors
Section titled “Call requirements and errors”open() can only be called in response to a user action such as a button click (Chrome for Developers). The returned promise rejects with AbortError when the user presses Escape or an AbortSignal aborts the selection, with NotAllowedError when the call lacks transient user activation, with InvalidStateError when another eyedropper is already open, and with OperationError when the selection fails for another reason (MDN, EyeDropper.open()).
See also
Section titled “See also”- EyeDropper API: sampling on-screen colors
- EyeDropper API (wicg.github.io)
- EyeDropper: open() method (developer.mozilla.org)
- The EyeDropper API (developer.chrome.com)