/ccp

CCP Colour Picker (CCP)

Primary LanguageShellMIT LicenseMIT

CCP Colour Picker

An X11 colour picker tool.

Screenshot

The CCP Colour Picker (CCP) is a simple colour picker for X11 in POSIX which uses xdotool to get mouse position, convert for getting colour values, and xclip to copy it to clipboard.

Dependencies

xdotool
ImageMagick
xclip

Install

Copy ccp to ~/.local/bin/, like so:

curl https://raw.githubusercontent.com/nisiddharth/ccp/main/ccp > ~/.local/bin/ccp

For further ease of use you can create a keyboard shortcut to run ccp.

Usage

    Usage: ccp [rgb|h]
    rgb: use rgb value instead of hex
      h: help

Example

ccp