Random Color Generator

Generate random colors and harmonious palettes; lock the ones you like.

How to use the Random Color Generator

  1. Choose a mode such as Pastel or Analogous palette.
  2. Press Generate (or the space bar). Click the lock icon on colors you want to keep.
  3. Click a color to copy it, or export the palette as CSS variables.

About this tool

Stuck choosing colors for a design, illustration or presentation? A random color generator breaks the deadlock. Generate random colors one at a time or as five-color palettes, and lock the ones you like while re-rolling the rest.

Choose a mode – any color, pastel, vivid, dark, or palettes built on color-theory harmonies such as analogous, complementary and triadic – and copy any color as HEX or RGB, or export the whole palette as CSS custom properties. Press the space bar to generate again.

Frequently asked questions

Palettes are built in HSL color space using color-theory rules – for example, analogous colors sit next to each other on the color wheel and triadic colors are 120° apart.

Of course. Colors cannot be owned, so use them in any project.

Open a color in the Color Picker tool to see its contrast ratio against black and white text.

Yes. Switch to palette mode to get five colors that work together, lock the ones you like and generate again to replace the rest. When you are happy, copy the palette as HEX or RGB values, or as CSS variables ready to paste into your stylesheet.