Skip to content

ivoronin/paletty.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Paletty - Terminal Color Scheme Generator

Terminal color schemes that are beautiful, balanced, and readable.

Most terminal theme tools either hand you a static collection or generate random RGB values and hope for the best. Paletty takes a different approach: a deterministic generation pipeline running entirely in OKLCH color space, with every palette validated against APCA contrast targets. Six ANSI hue anchors are placed via Voronoi partitioning of the perceptual hue wheel, lightness is resolved through binary search to hit precise contrast thresholds, and vibrance is equalized across all accents for visual consistency. The result is a palette with the coherence of a hand-tuned theme, generated in a click.

You can also extract a terminal color scheme from any image (median-cut quantization mapped to ANSI hue buckets) or browse a gallery pre-seeded with 790 themes from community repositories like Catppuccin, Tokyo Night, Nord, and Dracula. The live terminal preview is WebGL-accelerated with custom Ghostty shader support.

Generation parameters are calibrated against a corpus of 790 real terminal themes. Export to Ghostty, Alacritty, WezTerm, iTerm2, Kitty, Windows Terminal, Foot, and Rio.

Feedback

Found a bug? Have a feature request? Open an issue.

License

Paletty is free to use at paletty.dev. This repository is for documentation and issue tracking.

Contributors