use-eye-dropper
Pick color from any pixel on the screen
Source
Docs
Package
Usage
use-eye-dropper
hook provides an interface to work with EyeDropper API.
Check browser support to learn which browsers support the API.
Click the button to pick color
Definition
Exported types
EyeDropperOpenOptions
, EyeDropperOpenReturnType
and UseEyeDropperReturnValue
types are exported from @mantine/hooks
package,
you can import them in your application: