Random Colour Generator

Need a colour for a design, a slide, a drawing, or a website? This free random colour generator gives you a random colour with its hex code in one click. Pick a shade family — warm, cool, pastel, or bright — or take any colour, and press Get a colour. Every colour comes from a built-in list of 30 colours, and you never see the same colour twice until you have seen them all. Everything runs in your browser and nothing is saved or sent anywhere.

How to use this random colour generator

Pick a shade family — Any colour, Warm, Cool, Pastel, or Bright — then press Get a colour and a colour swatch appears at once, with its name and hex code. Press Get a colour again for a fresh colour, or Copy colour to copy the name and hex code. You never see the same colour twice until you have seen every colour in that family, so 6 warm colours in a row are always 6 different warm colours.

How it works

The generator holds four built-in lists of 6 colours each — warm, cool, pastel, and bright — 30 colours in total, each with a name and a hex code. When you press Get a colour, it picks at random from the colours you have not seen yet in that family and keeps a note of every colour it has shown, so a colour can never repeat until the list is finished. Picking a new shade family starts a fresh list, and the Any colour draws from all 30 colours together.

Worked example

Pick Cool and press Get a colour — you might see Ocean Blue, hex code #0077B6, with a blue swatch. Press it again and you get a different cool colour, such as Teal, #008080. Pick Pastel and press Get a colour 6 times and you see all 6 pastel colours, each one different, from Baby Pink to Butter Yellow. Pick Any colour and you can see any of the 30 colours.

Frequently asked questions

What is a hex code?

A hex code is a six-character code that tells a computer exactly which colour to show, such as #FF5733 for Sunset Orange. You can paste it into a design tool, a website editor, or a slide deck to use the exact same colour.

Can I get the same colour twice?

Not until you have seen every colour in that shade family. The generator remembers every colour it has shown and skips repeats, so 6 pastel colours in a row are always 6 different colours. Once all 6 are shown, the list starts again.

What can I use random colours for?

Random colours work well for design inspiration, website colour schemes, slide decks, drawings and art projects, and picking a colour for a room, an outfit, or a brand. Copy the name and hex code and use it anywhere.

Is anything I generate saved or shared?

No. Colours are picked entirely in your browser from built-in lists. Nothing is uploaded, stored or sent to any server, and the colours disappear when you leave the page.

What other tools can I use?

Try our Colour Palette Generator to build a full palette from a base colour, the Gradient Generator for smooth colour blends, the Hex to RGB Converter to convert a hex code, and the RGB to Hex Converter to go back the other way. See all of them on our tools page, use our free calculators, or return to the homepage.

Disclaimer: Colours and hex codes are shared for design inspiration only. Colours may look slightly different on different screens. No personal data is collected or saved.

Scroll to Top