#!/usr/bin/env bash grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:- | egrep -o "#[a-fA-F0-9]{6}" | wl-copy -n