Skip to content

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 / PlatformSupportVersionsConfidenceSourceNotes
Chrome (Desktop)#Yes95highsource12
Chrome (Android)#No—highsource3
Edge (Desktop)#Yes95highsource456
Firefox (Desktop)#No—highsource7
Firefox (Android)#No—highsource89
Safari (macOS)#No—highsource10
Safari (iOS)#No—highsource1112
Samsung Internet#No—highsource1314
WebView (Android)#No—highsource15
  1. Before Chrome 120, the EyeDropper API is not available on ChromeOS. See bug 40720753 (https://crbug.com/40720753).
  2. Available on Linux X11, but not available on Linux Wayland. See bug 40720753 (https://crbug.com/40720753).
  3. No Chrome Android support is recorded in browser-compat-data.
  4. Before Chrome 120, the EyeDropper API is not available on ChromeOS. See bug 40720753 (https://crbug.com/40720753).
  5. Available on Linux X11, but not available on Linux Wayland. See bug 40720753 (https://crbug.com/40720753).
  6. Derived by browser-compat-data mirroring from Chrome.
  7. No Firefox support is recorded in browser-compat-data.
  8. No Firefox for Android support is recorded in browser-compat-data.
  9. Derived by browser-compat-data mirroring from Firefox.
  10. No Safari support is recorded in browser-compat-data.
  11. No Safari on iOS support is recorded in browser-compat-data.
  12. Derived by browser-compat-data mirroring from Safari.
  13. No Samsung Internet support is recorded in browser-compat-data.
  14. Derived by browser-compat-data mirroring from Chrome Android.
  15. Implementation tracking: https://crbug.com/40791573.

Source data: /compatibility/eyedropper.json · Global usage: 39 % (StatCounter 2026-09, CC BY-SA 4.0)

Source: spec · MDN · Last verified 2026-10-03 · Confidence: high (computed from sources)

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.

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()).