Command line color picker with hex, xterm and rgb support
 
 
 
Go to file
sdk 1a328e204d Allow CFLAG override in port systems 2021-11-01 08:18:29 +00:00
LICENSE Adding LICENSE (ISC) 2020-12-03 19:45:10 +00:00
Makefile Allow CFLAG override in port systems 2021-11-01 08:18:29 +00:00
README Add options to readme 2020-12-03 19:59:28 +00:00
xpick.1 Remove DESTDIR as it interferes with packagers 2021-07-19 06:57:50 +00:00
xpick.c Add stdint.h for linux 2020-12-05 08:03:34 +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