Toolstia / Random color generator

random color generator

Press a button to get a set of random colors with their hex and RGB codes. Click a color to copy its code, or copy them all at once.

Click a color to copy its hex code. The text color on each swatch is chosen to stay readable. Colors are picked completely at random, so some will clash.

How it works

  1. Choose how many colors you want.
  2. Press Generate colors.
  3. Click a color to copy its code.

Hex and RGB

Each color is shown as a six-digit hex code such as #3A7BD5 and as red, green and blue values from 0 to 255.

Readable labels

The text on each swatch switches between black and white so it stays readable.

Uses

Quick inspiration for design, game art, charts or testing a layout.

Truly random

Colors are not designed to match each other. For harmonious sets use the color palette generator.

Questions

Can I get pastel colors only?

Not in this tool. It picks from the whole range.

How many can I generate?

Up to 60 at a time.

Are the colors saved?

Everything happens in your browser, and nothing you enter is sent anywhere.