Command line color picker with hex, xterm and rgb support
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
sdk 1a328e204d Allow CFLAG override in port systems 2 years ago
LICENSE Adding LICENSE (ISC) 3 years ago
Makefile Allow CFLAG override in port systems 2 years ago
README Add options to readme 3 years ago
xpick.1 Remove DESTDIR as it interferes with packagers 2 years ago
xpick.c Add stdint.h for linux 3 years ago

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