Color · Made a little simpler

Color Palette Generator

Build complementary, analogous, triadic and monochromatic palettes from a base color. Generate random swatches and export your palette as CSS.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
#336699
#996633

Calculator source: CalcOpenly

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Color Palette Generator: how to use it

  1. Enter a base color in HEX, RGB or HSL, or choose Random base color.
  2. Select a harmony to compare its swatches. Random palette picks five independent colors.
  3. Set a variable prefix and copy or download the CSS.

Limits and notes

Works in 8-bit sRGB. Hue rotations use HSL and keep the base opacity. Gray has no visible hue. Wide-gamut profiles and perceptual spacing are outside this model.

How your privacy works →

Color Palette Generator: common questions

How do I get the complementary color?

Select Complementary. The second swatch rotates the hue by 180 degrees. Pure red produces cyan.

What is the difference between the two random buttons?

Random base color picks one new RGB color and applies the chosen harmony. Random palette draws five independent opaque RGB colors.

Guides