Palette Generator
Generate palettes using color theory
CSS variables
--color-1: #10b981; --color-2: #8110b9; --color-3: #b98110;
How to use Palette Generator
- Pick a base color using the color picker or enter a hex value directly.
- Choose a color harmony — complementary for bold contrast, analogous for calm, triadic for balanced variety.
- Fine-tune saturation and lightness to match your design vibe.
- Click any swatch to copy its hex value, or expand the CSS variables section for a ready-to-use snippet.
Color theory basics
A color wheel arranges hues in a circle: red, orange, yellow, green, blue, purple, and back. Colors that sit opposite each other (complementary) create high contrast. Colors next to each other (analogous) feel harmonious. Evenly spaced colors (triadic, tetradic) give balanced variety.
Beyond the base harmony, saturation controls color intensity (gray to vivid) and lightness controls the brightness (black to white). Well-designed palettes rarely use pure primaries — slight desaturation and careful lightness adjustments make colors feel modern and refined.
For UI work, start with a single strong accent color plus neutrals. For illustrations or marketing, triadic and split-complementary palettes work well. For minimalist designs, monochromatic variations provide subtle depth without overwhelming the viewer.