← Back to release summary

EyeDropper API

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 95)
Intent stage
Prepare to ship

Summary

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

Motivation

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.

Standards & signals

Explainers: https://github.com/WICG/eyedropper-api/blob/main/README.md

View on chromestatus.com