Open Source

Color palette images
from hex codes

Generate beautiful brand palette boards in SVG or PNG. Perfect for design systems, style guides, and documentation.

#6366F1
#EC4899
#F59E0B
#10B981

Quick Start

Install globally via npm and start generating palettes in seconds.

# Install globally

npm install -g palettd

# Generate a palette

palettd "#6366F1" "#EC4899" "#F59E0B" -o palette.svg

# Or use npx without installing

npx 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+.

New

Discover Color Palettes

Browse curated palettes from designers worldwide. Upvote your favorites and find the perfect colors for your next project.

Mediterranean

5 colors 0

Tokyo Nights

5 colors 0

Soft Pastels

5 colors 0

Monochrome Elegance

5 colors 0

Cool Slate

5 colors 0

Arctic Aurora

5 colors 0

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.

144 images generated via API in the last 7 days (and counting).

View API Docs