How do I use the color palette generator?
Pick your base color with the color picker or type its hex code, then choose a harmony from the menu. The swatches update instantly, each labelled with its hex code, and the details list every color in hex, RGB and HSL. Click any swatch to copy its hex code, use Copy hex list for the whole palette, or Copy CSS variables to get a ready-made :root block for your stylesheet. The default builds an analogous palette around #03bdee; press Sample for a triadic palette from #e63946, or Random to explore a surprise base color.
What is a color harmony?
A color harmony is a set of colors chosen by their positions on the color wheel so they look good together. The wheel arranges hues in a circle of 360 degrees, and harmonies pick points on that circle at fixed angles from your base color. Because the relationships are geometric, the colors balance each other: neighbours feel calm, opposites create contrast, and evenly spaced triangles or rectangles feel vibrant but ordered. Designers use harmonies to build palettes that look intentional instead of random.
Which harmony should I choose?
Analogous palettes (neighbours within 60 degrees either side) are serene and safe, good for backgrounds and calm interfaces. Complementary pairs (180 degrees apart) give the strongest contrast, ideal when one accent must pop against a main color. Triadic palettes (120 degrees apart) are bold and playful, common in illustration and games. Tetradic rectangles offer the most variety but need one dominant color to stay balanced. Monochromatic palettes vary only lightness, giving a clean, professional look that is hard to get wrong.
How do I use the palette in CSS?
Press Copy CSS variables and paste the block into your stylesheet. It defines custom properties such as --color-1, --color-2 and so on under :root, which you then reference anywhere with var(--color-1). Rename the variables to meaningful names like --brand, --accent and --surface once you know each color's job. The details box also lists RGB and HSL equivalents, handy for design tools or for adjusting opacity with rgba() and hsla().
What tips help when choosing a base color?
Start from a color you already have: a logo color, a product photo or a brand guideline. Then check contrast: text needs enough lightness difference against its background to stay readable, so pair the darkest and lightest swatches for text and background rather than two mid-tones. Keep the palette small (three to five colors is plenty), let one color dominate, and reserve the most saturated color for buttons and highlights. If a palette feels harsh, lower the saturation of the base color and regenerate.
Is it free and private?
Yes. The color palette generator is completely free, needs no sign-up, and runs entirely in your browser. Nothing is sent to a server. It works on phones, tablets and desktop computers, so you can build a palette anywhere.