Boneyard Tools

Random Color Generator

Click generate for a fresh random hex color and a matching palette of swatches. Every color shows its hex code with a copy button, so you can grab it straight into your design.

How to generate random colors

  1. Choose how many colors you want in the palette.
  2. Click Generate to create a fresh random color and palette.
  3. Copy any hex code with its copy button to use in your design.

Examples

Single random color

Click Generate
#3f8ec2 with a copy button

Random palette

Set palette size to 5, click Generate
5 random swatches, each with its hex code

Frequently asked questions

What format are the colors in?

Every color is a standard six-digit hex code like #3f8ec2, which works in CSS, design tools and most editors. Tap the copy button to grab it.

How random are the colors?

Each red, green and blue channel is chosen using your browser's built-in random number generator, so any of the 16 million RGB colors can appear.

Can I generate a whole palette at once?

Yes. Set the palette size and click Generate to get that many random swatches together, each with its own hex code and copy button.

Is anything sent to a server?

No. Colors are generated locally in your browser, so the tool is private and works even when you are offline.

Why do I get different colors every time I click?

That is by design. Each click draws fresh random values, so you can keep generating until you find a color or palette you like.

Related tools