~amavect/makeu

makeu/makeu.1.man -rw-r--r-- 1.7 KiB
8a2a5c28amavect revise error exiting, allocation errors 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.TH MAKEU 1
.SH NAME
makeu \- make hues and create colors
.SH SYNOPSIS
.PP
.B makeu
[
.B -ip
] [
.B -c
.I 0xRRGGBBAA
]
.SH DESCRIPTION
.I Makeu
is a tool for creating colors. It consists of a selectable color field, a color display that doubles as an eyedropper tool, and 7 sliders that change red, green, blue, hue, saturation, value, and alpha.
.PP
On the color field, pressing mouse 1 will set the hue, saturation, or value corresponding to that location depending on the graph type. Pressing mouse 2 over the color field will bring up a menu to select a HS graph, SV graph, or HV graph.
.PP
The color display shows the color visually and in hexadecimal after multiplying alpha. On the color display, holding mouse 1 and dragging anywhere on the screen (similar to
.IR lens (1))
will select the color below the cursor. On letting go of mouse 1,
.I makeu
will update its color to the selected color.
.PP
Pressing mouse 1 on a slider will update the corresponding value. The scroll wheel increments and decrements the values, as well.
.PP
Hex colors are read from stdin.
.I Makeu
will close if stdin closes. This is useful for pipes.
.PP
In any panel, mouse 3 will open up the menu, which has a few entries:
.TF Send
.TP
.B Send
Output the hex color in the form 0xRRGGBBAA and exit.
.TP
.B Exit
Exit and output nothing.
.PD
.PP
.I Makeu
has a few options:
.TF -c
.TP
.B -c
Color. 
.I Makeu
will start with the given color.
.TP
.B -p
Persistent. 
.I Makeu
will not exit when Send is chosen.
.TP
.B -i
Immediate.
.I Makeu
will output the color every time the color changes due to a mouse input.
.PD
.SH SOURCE
.B https://git.sr.ht/~amavect/makeu
.br
.SH SEE ALSO
.IR colors (1), 
.IR paint (1), 
.IR allocimage (2),
.IR color (6)