Color palette images
from hex codes
Generate beautiful brand palette boards in SVG or PNG. Perfect for design systems, style guides, and documentation.
Quick Start
Install globally via npm and start generating palettes in seconds.
npm install -g palettd
# Generate a palettepalettd "#6366F1" "#EC4899" "#F59E0B" -o palette.svg
# Or use npx without installingnpx palettd "#FF6600" "#0B1320" --format png
Features
Multiple Formats
Supports hex, RGB, RGBA, HSL, and HSLA color inputs. Output to SVG or PNG.
Auto Color Naming
Automatically names colors using perceptual matching with ~200 named colors.
Accessibility First
Automatic text color selection ensures optimal contrast on every swatch.
Deterministic
Same inputs always produce identical outputs. Great for CI/CD pipelines.
Works Offline
No network dependencies. Generate palettes completely offline.
Cross Platform
Runs on Windows, macOS, and Linux. Requires Node.js 20+.
Use the API
Don't want to install anything? Use our hosted API to generate palette images on the fly. Images are cached for fast delivery.
View API Docs