colorgen¶
A CLI tool that extracts colors from images and generates terminal colorschemes for kitty, AwesomeWM, Waybar, dunst, and rofi.
What it does¶
Give it an image, get a matching colorscheme.
It extracts dominant colors using K-means clustering, maps them to a 19-color terminal palette (background, foreground, cursor, colors 0-15), and writes config files for your tools.


Supported targets¶
- kitty - terminal emulator color config
- AwesomeWM - window manager theme colors (awesomewm-basileia layout)
- Waybar - status bar colors via
@define-colorCSS variables - dunst - notification daemon colors via
dunstrc.ddrop-in - rofi - launcher color theme (expects adi1090x/rofi layout)
Links¶
License¶
GPL-3.0-or-later