clorox
is a command line utility for picking colors from an image.
clorox [options...] [location]
-h
,--help
: Show help message and quit.-f
,--format
: Change color output display. Can be:rgb
:255,255,255
hex
:#FFFFFF
The X,Y location of the pixel in question.
# Picking an image
clorox -i Pictures/test.png 255,255
# Using `grim` and `slurp` to grab the colors from a screenshot
grim - | clorox $(slurp -p -f "%Xx%Y")