Random Color Generator

Generate random colors with HEX, RGB and HSL codes you can copy in one click. Spin fresh shades or build a 5-color palette — a handy tool for designers and developers.

#7B5CFF rgb(123, 92, 255) hsl(252, 100%, 68%)
Advertisement

How to use the Random Color Generator

1
Generate a color

Tap ‘New Random Color’ for a fresh swatch.

2
Copy a code

Click the HEX, RGB or HSL chip to copy that format.

3
Build a palette

Tap ‘Make a palette’ for five coordinated shades.

4
Save what you like

Copy any palette swatch to drop straight into your design.

About this tool

The random color generator serves up fresh shades whenever inspiration runs dry. Each color comes with ready-to-paste HEX, RGB and HSL codes — just tap any value to copy it.

Designers use it to break creative block, developers to grab quick placeholder colors, and hobbyists to discover unexpected combinations. Need more than one shade? Tap ‘Make a palette’ for a harmonious five-color scheme built around a random hue.

Mustafa Bilgic
Mustafa BilgicFounder & tool-maker at Mohoh · last reviewed June 2026

Frequently asked questions

Which color formats does it give me?

Three: HEX (e.g. #7B5CFF), RGB (e.g. rgb(123, 92, 255)) and HSL. Tap any of them to copy that exact format to your clipboard.

How are the palettes created?

The palette uses an analogous scheme — it picks a random base hue and steps around the color wheel in small increments, which naturally produces colors that look good together.

Can I use these colors commercially?

Yes — colors themselves aren’t copyrightable, so you can freely use any generated shade in personal or commercial projects.

Does it pick truly random colors?

Single colors are fully random across the whole spectrum. Palettes are intentionally coordinated rather than random, so the shades harmonise.

Advertisement

More fun tools

Browse all 40 tools