2020-11-30 21:59:08 +01:00
|
|
|
# xpick
|
|
|
|
|
|
|
|
pick a color and show it in hex.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
$ make
|
|
|
|
$ sudo make install
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2020-12-03 20:59:28 +01:00
|
|
|
$ xpick -h (then click somewhere)
|
2020-11-30 21:59:08 +01:00
|
|
|
#001800
|
|
|
|
|
2020-12-03 20:59:28 +01:00
|
|
|
Options:
|
|
|
|
-h HEX notation: #rrggbb
|
|
|
|
-r RGB notation: rrr/ggg/bbb
|
|
|
|
-x xterm nearest color number
|
|
|
|
|
2020-11-30 21:59:08 +01:00
|
|
|
Use xclip to push the value into the clipboard instead of showing it on
|
|
|
|
the terminal
|
|
|
|
|
|
|
|
$ xpick | xclip
|
|
|
|
|