Skip to main content
otter-pick samples a pixel from the screen. It opens a frozen overlay with a magnifying loupe. Click to copy hex, RGB, and OKLCH. Pass --x and --y when you want scripted sampling instead.

Usage

Run otter-pick with no arguments for the interactive overlay. Pass --x and --y to sample a screen coordinate. If you pass only one, the other defaults to the center of the captured area.

Output

otter-pick prints the sampled color in three formats, one per line.

Configuration

otter-pick reads ~/.config/otter-shell/otter-pick.conf.
  • copy: set to false to skip clipboard writes by default
  • loupe: set to true to always print the ANSI loupe when you sample with --x and --y
Requires ext-image-copy-capture-v1 from the compositor, with wlr screencopy as a fallback. The loupe uses the same capture path as otter-screenshot.