Fun & Utility

Random Color Generator

Generate random colours with HEX, RGB and HSL codes, and build instant colour palettes.

Tool

About the Random Color Generator

The Random Color Generator produces colours on demand and shows their codes in HEX, RGB and HSL. Use it for quick inspiration, design practice or to fill a palette.

How to use it

  1. Click Generate to create a random colour.
  2. Copy the HEX, RGB or HSL code you need.
  3. Generate a palette to get a set of coordinating colours.

Colour codes explained

FormatExampleUsed in
HEX#3F51B5Web and CSS
RGBrgb(63, 81, 181)Screens and code
HSLhsl(231, 48%, 48%)Design and CSS

Common uses

  • Finding colour inspiration for a project.
  • Generating placeholder colours.
  • Building a palette for a website or brand.
  • Fun and creative warm-ups.

Tips

  • HSL is easiest for building palettes — keep hue and tweak saturation and lightness.
  • Save palettes you like by copying the codes.

Who it is for

Designers, developers, artists and anyone needing colour ideas.

Frequently asked questions

A six-digit code such as #3F51B5 representing the red, green and blue values. It is the standard way to specify colours in CSS.
RGB describes colours as red, green and blue amounts; HSL describes them as hue, saturation and lightness, which many find easier for editing.
Yes. The palette mode creates several colours at once so you can mix and match.

Related tools

Guides for this tool