A terminal-based 16 million color picker built with Rust. Navigate a full HSL palette grid, adjust lightness, and see hex, RGBA, and OKLCH values in real time.
- Full HSL color palette with half-block rendering for double vertical resolution
- Lightness slider with live gradient preview
- Color info panel showing hex, RGB, RGBA, and OKLCH values
- Cursor with automatic contrast (white on dark, black on light)
- Vim-style navigation (hjkl) alongside arrow keys
- Rust 1.85+
- A true-color terminal (iTerm2, Kitty, Alacritty, WezTerm, Ghostty)
cargo run
| Key | Action |
|---|---|
← ↓ ↑ → / h j k l |
Move cursor on palette |
Tab |
Toggle focus between palette and lightness slider |
← → (slider focused) |
Adjust lightness ±0.01 |
Shift+← Shift+→ |
Adjust lightness ±0.05 |
Shift+arrow (palette focused) |
Move cursor by 5 |
q / Esc |
Quit |
┌──────────────────────────────────────────────────┐
│ Color Palette Grid │
│ X = Hue (0–360°), Y = Sat (1→0) │
│ Half-block (▀) rendering │
│ Cursor with contrast marker │
├──────────────────────────────────────────────────┤
│ Lightness: [gradient bar ▏ indicator] 0.50 │
├──────────────────────────────────────────────────┤
│ ████ #FF6B2B │
│ RGB: 255, 107, 43 RGBA: 255, 107, 43, 255 │
│ OKLCH: L=0.652 C=0.198 h=46.3° │
└──────────────────────────────────────────────────┘
MIT