Command line color picker with hex, xterm and rgb support
Go to file
sh+github@codevoid.de 4cb7504cf9 Add options to readme 2020-12-03 19:59:28 +00:00
LICENSE Adding LICENSE (ISC) 2020-12-03 19:45:10 +00:00
Makefile Refine Makefile 2020-12-03 19:45:30 +00:00
README Add options to readme 2020-12-03 19:59:28 +00:00
xpick.c Add -rhx options for rgb,hex,x11 notation 2020-12-03 19:45:51 +00:00

README

# xpick

pick a color and show it in hex.

## Installation

    $ make
    $ sudo make install

## Usage

    $ xpick -h (then click somewhere)
    #001800

    Options:
        -h  HEX notation: #rrggbb
        -r  RGB notation: rrr/ggg/bbb
        -x  xterm nearest color number

Use xclip to push the value into the clipboard instead of showing it on
the terminal

    $ xpick | xclip