Color Palette Generator
Generate harmonious limited color palettes from a base color.
About this calculator
This calculator turns a single base hue into a set of harmonious accent hues using classical color-wheel relationships, rather than generating an arbitrary palette from scratch. Pick a Base Hue (0-359°) and a Harmony Type, and it returns a Secondary Hue and Tertiary Hue placed at fixed angular offsets from your base: 180° apart for complementary, 30° for analogous, 120° for triadic, and 150°/210° for split-complementary. The Hue Step shown is that same offset, restated as a standalone figure. Because every offset is a fixed rotation around the color wheel, the Base Hue is the only input that changes which specific hues come out — the Harmony Type changes the spacing pattern, not the starting point.
Saturation is collected but not used anywhere in the hue math here; it exists as a reminder to apply a consistent saturation value when you translate these hue numbers into actual RGB or HSL swatches, not as something this calculator factors into its output. Lightness Step is a separate, independent calculation: it spreads Palette Size total swatches evenly across a fixed 15%-85% lightness range, so a larger palette produces closer (smaller) lightness increments between shades. It has no connection to hue harmony at all — a palette could use one lightness step for every hue in the harmony, or the two axes can be combined however your design system needs. What this tool does not do is check for perceptual contrast, accessibility, or how the resulting swatches will actually look against each other on screen.
Inputs
Results
Secondary Hue
330°
How to Use This Calculator
- Enter the Base Hue in degrees (0° = red, 120° = green, 240° = blue) and the Saturation percentage.
- Select the Harmony Type: complementary, analogous, triadic, or split-complementary.
- Enter the Palette Size (number of colors) to generate.
- Review Secondary and Tertiary Hues and the Hue Step between colors.
- Use the Lightness Step to understand how the palette grades from light to dark for UI application.
How the result changes with Base Hue
| Base Hue | Secondary Hue |
|---|---|
| 105 | 225° |
| 158 | 278° |
| 315 | 75° |
| 359 | 119° |
What each input means
- Base Hue
- Starting hue in degrees (0 = red, 120 = green, 240 = blue).
- Saturation
- Color saturation percentage.
- Palette Size
- Total number of colors in the palette.
- Harmony Type
- How the secondary and tertiary hues are placed relative to the base hue.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersBase Hue = 210, Saturation = 70, Palette Size = 8, Harmony Type = 2 = 4 input(s) provided
- Calculate Secondary HueSecondary Hue330 = 330
- Calculate Tertiary HueTertiary Hue90 = 90
- Calculate Hue Step120 = 120
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Does the Saturation input change the Secondary or Tertiary Hue result?
No. Saturation is captured as an input for reference when you build your final swatches, but the hue-harmony math in this calculator only rotates the Base Hue by a fixed angle per Harmony Type — it never reads the Saturation value. Changing Saturation alone leaves Secondary Hue, Tertiary Hue, and Hue Step completely unchanged.
Why does a bigger Palette Size shrink the Lightness Step?
Lightness Step spreads a fixed 70-percentage-point lightness range (15% to 85%) evenly across however many swatches you request. More swatches means more, smaller increments to divide that same range into, so Lightness Step decreases as Palette Size increases — a 32-color palette needs much finer lightness gradations between neighbors than an 8-color one.
How is Split-complementary different from plain Complementary harmony?
Complementary places the Secondary Hue exactly opposite the base, 180° around the wheel. Split-complementary avoids that single opposite point and instead places two accent hues flanking it, 150° and 210° from the base — a softer contrast that avoids the starkness of a true complementary pair while still reading as high-contrast against the base hue.
Can I use this to generate a full RGB or hex color palette directly?
Not directly — this calculator only outputs hue angles in degrees (0-359°), plus a lightness step percentage. To get finished swatches you still need to pair each hue with a saturation and lightness value and convert HSL to RGB or hex yourself, since this tool intentionally stops at the color-theory layer rather than rendering pixels.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Contrast Ratio Calculator
Check WCAG 2.1 contrast ratio between foreground and background colors.
Graphic DesignColor Mode Converter
Convert RGB color values to CMYK and HSL representations.
Game DesignGame Monetization Calculator
Calculate ARPU, conversion rates, and LTV for free-to-play games.
Game DesignGame Economy Balance Calculator
Analyze currency faucets, sinks, and inflation for game economies.
Game DesignDPS Calculator
Calculate damage per second with attack speed and critical hits.
More in Creative, Media & Design.