shithub: picker

ref: 6dac36c4e56535f09dc8b4e7218059e335bf9e9f
dir: /picker.man/

View raw version
.TH PICKER 1
.SH NAME
picker \- a color picker
.SH SYNOPSIS
.B picker
[
.I -e
] [
.I -a
] [
.I -slr
]
COLOR ...
.SH DESCRIPTION
.I Picker
is a tool designed to mainly be used by other programs in order to
change a color palette dynamically, showing changes in real time.
Colors are supplied as command line argument, each is encoded as
.I RGB
(or
.I RGBA
if
.I -a
option was used)
in hex form, i.e.
.I ff0000
for red in
.I RGB
mode, or
.I ff0000ff
in
.I RGBA
mode.
.PP
Different color spaces are accessible through right button menu, or as
command line arguments:
.TP
.B -s
HSLuv.
.TP
.B -l
HPLuv.
.TP
.B -r
RGB.
.PP
Switching between palette can be done by either a mouse click, or
left/right arrows on the keyboard. With the middle button click you
can enter color as
.I RGB(A)
manually.
.PP
For each change of a color, picker writes to stdout its index and the
new color value, separated by a single space.  Pass
.I -e
option if you want
.I picker
to print all the colors only once you exit the program, as a single
line.
.SH SOURCE
https://github.com/ftrvxmtrx/picker