Skip to main content
otter-pick is Otter Shell’s screen color picker. It opens a frozen overlay with a magnifying loupe. Click a pixel to copy its hex, RGB, and OKLCH values. Pass --x and --y for scripted sampling.

Usage

Run otter-pick without arguments for the interactive overlay, or pass --x and --y to sample a screen coordinate.
otter-pick                       # frozen overlay, loupe: click to copy hex
otter-pick --x 120 --y 80        # sample global Wayland coordinate
otter-pick --x -10 --y 80        # negative coords work for left-of-primary outputs
otter-pick --loupe --x 1 --y 2   # print 5x5 ANSI loupe for scripted sampling
otter-pick --no-copy             # print values only, no clipboard
otter-pick --hex '#336699'       # offline conversion / test

Output

otter-pick prints the sampled color in three formats, one per line.
#336699
rgb(51, 102, 153)
oklch(44.9% 0.083 249.1)

Configuration

otter-pick reads ~/.config/otter-shell/otter-pick.conf.
copy = true
loupe = false
  • copy: set to false to skip clipboard writes by default
  • loupe: set to true to always render the ANSI loupe instead of opening the overlay
Requires ext-image-copy-capture-v1 from the compositor. The loupe uses the same capture path as otter-screenshot.