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
68
69
70
71
72
|

# kjagave
a GTK3 color scheme generator inspired by classic Agave, rewritten in Go
<img width="554" height="467" alt="recent screenshot" src="https://github.com/user-attachments/assets/efbea3f0-9d1f-45b1-865b-bb82a3ddc443" /><br>

## features
- Agave-style scheme generator with:
- Triads
- Complements
- Split Complements
- Tetrads
- Analogous
- Monochromatic
- large scheme preview cards showing hex, rgb, and hsv
- lighten, darken, saturate, desaturate quick actions
- color history navigation (back/forward)
- random color generation
- palette browser with built-in web-safe, tango, and visibone-style sets
- favorites panel with add/remove/clear
- favorites export to GIMP `.gpl` (`~/.config/kjagave-favorites.gpl`)
- clipboard copy/paste for hex colors
- screen picker support on X11 (`xcolor` or `grabc`)
## requirements
- go 1.21 or higher
- gtk3 development libraries
- `gotk3` go bindings
- `xcolor`
## installation
### arch linux
```bash
cd archlinux
makepkg -si
```
see `archlinux/README.md` for more details.
### manual build
```sh
cd src
go mod download
go mod download github.com/gotk3/gotk3
go build -o kjagave main.go
```
## running
```bash
./kjagave
```
## usage
1. pick a base color with the color button, hex entry, palette list, or screen picker
2. choose a scheme type from the combo box
3. click any preview card to promote that scheme color to the active base color
4. use toolbar actions (`Back`, `Forward`, `Random`, `Lighten`, `Darken`, `Saturate`, `Desaturate`, `Paste`) to iterate quickly
5. add colors to favorites with `+`, remove with `-`, and export favorites with `Export GPL`
state and favorites are stored in `~/.config/kjagave.json`.
|