Skip to content
ToolsOnDuty - free online tools
CSS & Design

Random Color Palette Generator

Generate random hex colour swatches and copy them individually or together.

Free browser toolRuns in your browserNo sign-up

Colors are random hex values generated locally. Click Copy on a swatch to grab a single colour.

About the Random Color Palette Generator

A colour palette is a set of colours used together in a design. Starting from random colours can spark ideas or provide quick placeholder swatches.

This tool generates random hex colours, shows each as a swatch and lets you copy any single colour or the whole set.

Everything runs in your browser, so you can regenerate as often as you like.

Key features

  • Random hex colour swatches
  • Choose how many colours
  • Copy a single colour or all at once
  • Live preview

How to use

  1. 1Set how many colours you want.
  2. 2Click Generate to roll a new palette.
  3. 3Copy an individual swatch or copy all.

Examples

Generate a design palette
Input: 6 colours
Output: Six random colour swatches with copyable hex values

Regenerate until the palette suits the project, then copy individual values.

Frequently asked questions

What format are the colours?
Each colour is a 6-digit hex code such as #3B82F6, ready to paste into CSS, design tools or code.
Can I copy just one colour?
Yes. Each swatch has its own Copy button, and there is a Copy all button for the whole palette.
Are the palettes colour-theory based?
These are random colours for quick inspiration and placeholders. For harmonious schemes, use them as a starting point and refine by eye.

Open a related tool to prepare your files or refine the finished result.