π Runs in your browser β nothing is uploadedβ Free, no signup
Color Palette Generator
Generate five-color palettes based on color-wheel harmonies. Lock the colors you like, start from your own brand color, and export the palette as CSS, Tailwind or JSON.
Tip: press the space bar to generate a new palette. Lock the colors you like to keep them.
When should you use the Color Palette Generator?
- Choosing colors for a new website, app or brand
- Building a palette around an existing brand color
- Getting Tailwind or CSS variables for a design system
How to use the Color Palette Generator
- 1
Pick a harmony
Leave 'Surprise me' or choose analogous, monochromatic, complementary, triadic or split complementary.
- 2
Generate
Click Generate palette or press the space bar until you like what you see.
- 3
Lock favourites
Click the lock on any color to keep it while the others change.
- 4
Export
Copy a single HEX by clicking it, or copy the whole palette as CSS, Tailwind or JSON.
Examples
Monochromatic palette from #6D28D9
Settings
Harmony: Monochromatic Start from: #6D28D9
CSS variables
:root {
--color-1: #DBCBF6;
--color-2: #AC86EA;
--color-3: #7A3CDD;
--color-4: #511DA5;
--color-5: #2F115F;
}Common errors and how to fix them
My starting color isn't used- Check the format β it must be a valid HEX, rgb() or hsl() value. The field turns red when it can't be read.
Space bar doesn't generate a new palette- Click an empty area of the page first. The shortcut is disabled while you're typing in a field.
Explore More Developer Tools
Format, Validate, and Generate Data Instantly
TrueFormatter provides essential utilities for modern web development, including JSON formatting, YAML conversion, and more.
JSON Auto-Fixer & Formatter
Repair, validate, and beautify broken JSON (missing quotes, trailing commas).
JSON Validator & Linter
Check JSON syntax and see the exact line and column of every error.
JSON Beautifier
Pretty-print and indent JSON for easy reading and debugging.
JSON Compare & Diff Tool
Find the difference between two JSON objects visually and quickly.
JSONPath Tester
Evaluate JSONPath expressions with filters and recursive queries.
JSON Schema Generator
Generate a JSON Schema from any sample JSON document.
JSON to CSV Converter
Flatten nested JSON arrays into CSV for spreadsheets.
YAML β JSON Converter
Convert YAML to JSON or JSON to YAML instantly.
CSV to JSON Converter
Convert CSV or TSV data to a JSON array of objects, with type detection.
JSON to TypeScript
Generate TypeScript interfaces from any JSON sample.
JWT Decoder
Decode and inspect JSON Web Tokens (JWT) Header and Payload.
JWT Generator
Create and sign HS256/HS384/HS512 JSON Web Tokens for testing.
Hash Generator (MD5, SHA)
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes.
Password Generator
Generate strong, random passwords with the length and characters you choose.
Base64 Encoder β Decoder
Encode text to Base64 and decode Base64 to text for API debugging.
URL Encoder & Decoder
Cleanly encode special characters in URLs and decode query strings.
SQL Formatter & Beautifier
Format SQL queries for MySQL, PostgreSQL, SQL Server, SQLite and more.
CSS Minifier & Compressor
Optimize CSS by removing whitespace and comments to accelerate page load time.
JS Minifier & Compressor
Compress JavaScript to improve website speed and performance.
HTML Formatter & Beautifier
Beautify or minify HTML with clean, consistent indentation.
Markdown Editor & Preview
Write Markdown with a live preview and copy the HTML.
Word & Character Counter
Count words, characters, sentences and reading time as you type.
Case Converter
Convert text to camelCase, snake_case, kebab-case, Title Case and more.
Text Diff & Compare
Compare two texts and highlight every added and removed word or line.
Lorem Ipsum Generator
Generate placeholder paragraphs, sentences or words as text or HTML.
Fancy Text & Font Generator
Turn text into ππ¨π₯π, πͺπ΅π’ππͺπ€, ππΈππΎπ π and other Unicode font styles you can paste anywhere.
Color Picker & Converter
Pick a color and convert between HEX, RGB and HSL instantly.
Color Palette Generator
Generate harmonious color palettes and export them as CSS, Tailwind or JSON.
CSS Gradient Generator
Build linear and radial CSS gradients visually and copy the code.
PX to REM Converter
Convert pixels to rem and rem to pixels for any root font size.
Regex Tester & Debugger
Test JavaScript regular expressions with live match highlighting and groups.
Cron Expression Generator
Build cron schedules, read them in plain English and preview next runs.
UUID / GUID Generator
Generate unique V4 UUIDs for database keys or testing.
Epoch converter online
Convert UNIX timestamps to human-readable dates and back instantly.
Time Zone Converter
Convert a time between time zones and compare cities side by side.
Random Number Generator
Generate random numbers in any range β unique, sorted or decimals.
Crop Image Online
Crop images exactly as selected with fixed aspect ratios. No upload, no resize, no quality loss.
Compress Image Online
Compress JPG, PNG & WebP images directly in your browser. No upload, no tracking, instant download.
Image Resizer
Resize images to exact pixels or a percentage, keeping the aspect ratio.
Image Converter (PNG, JPG, WebP)
Convert images between PNG, JPG and WebP in your browser.
Image to Base64
Convert an image to a Base64 data URI for CSS, HTML or JSON.
Color Palette Generator FAQ
Click Generate palette or press the space bar. Lock the colors you like by clicking the lock icon, then keep generating β locked colors stay while the others change.
They follow the color wheel. Analogous uses neighbouring hues for a calm look, Monochromatic uses one hue in different shades, Complementary pairs opposite hues for contrast, and Triadic and Split complementary use three evenly spaced hues for lively but balanced palettes.
Yes. Enter your color in 'Start from a color' (HEX, RGB or HSL) and the palette is built around it using the harmony you choose.
Choose CSS variables to get a :root block you can paste into your stylesheet, or Tailwind to get a colors object for tailwind.config.js. JSON and plain HEX lists are also available.
Each HEX label uses whichever of white or black meets the WCAG 4.5:1 contrast ratio on that color, so it stays readable. Use the Color Picker to check contrast for your own text colors.
Yes. Colors can't be owned β use the palettes in any personal or commercial project.
