A color picker tool for X11.
The CCP color Picker (CCP) is a simple color picker for X11 in POSIX which uses xdotool
to get mouse position, convert
for getting color values, xclip
to copy it to clipboard and notify-send
to show the color in a notification.
xdotool
ImageMagick
xclip
libnotify-bin
Copy ccp
to ~/.local/bin/
, like so:
curl https://raw.githubusercontent.com/nisiddharth/ccp/main/ccp > ~/.local/bin/ccp && chmod +x ~/.local/bin/ccp
For further ease of use you can create a keyboard shortcut to run ccp
.
Usage: ccp [rgb|h]
rgb: use rgb value instead of hex
h: help
ccp