all41Games

Random Color.

Random colours and palettes with HEX, RGB and HSL codes to copy.

#······
 

Press Space for new colors, lock the ones you like to keep them

Random color generator: random colors and palettes with HEX codes

Need a surprise color for a design, a palette to try on your slides, or a color for a guessing game with friends? The all41 Random Color generator makes one in a single tap. Get one big color or a palette of 3 or 5, each with an everyday name (red, light blue, brown…) and HEX, RGB and HSL codes to copy. Lock the colors you like and keep generating until the rest fit. In Any mode, every one of the 16.7 million RGB colors has the same chance, thanks to your browser's cryptographic random number generator. It is free, needs no sign-up and works well on a phone.

How to use it

  1. 1Pick a style: Any, Pastel (soft and light), Vivid, Dark or Gray.
  2. 2Choose how many colors: one big swatch, or a palette of 3 or 5.
  3. 3Press New color or hit Space. Tap the lock on a swatch to keep it for the next round.
  4. 4Tap a HEX, RGB or HSL code below to copy it. With one color, the panel shows its contrast with white and black text.

When to use it

Design and slides

Find color ideas for a poster, a presentation, a cover image or an interface. Lock your main color and try the ones around it.

Art and crafts

Challenge yourself to paint with only the three colors that came up, or pick the yarn or paint for your next handmade project.

Classrooms

Teach young kids color names, let students guess the name before revealing it, or show how computers write colors as HEX and RGB.

Games

Everyone hunts for something in the room that matches the color; the fastest wins. Great for parties and streams.

Frequently asked questions

Are the colors really random?

Yes. In Any mode the red, green and blue channels are each picked from 0 to 255 with the browser's crypto.getRandomValues, so every RGB color is equally likely. Pastel, Vivid, Dark and Gray pick at random within a saturation and lightness range. The shuffle animation is only for show: the colors are chosen first.

What are HEX, RGB and HSL?

Three ways to write the same color. HEX, like #FF5733, is the usual format on the web and in design apps. RGB gives the amount of red, green and blue from 0 to 255. HSL gives the hue (0–360 degrees), saturation and lightness in percent, which is handy when you want a color lighter or softer.

How do locks work?

Tap the lock icon on a swatch. On the next generate, locked colors stay as they are and only the others change. Tap it again to unlock.

Are the color names exact?

No, they are rough everyday names based on hue and lightness (Light blue, Dark red). When you need the exact color, use the HEX or RGB code.

What is the contrast ratio for?

It tells you whether text is easy to read on that color. Under WCAG, normal text needs at least 4.5:1 (AA) and large text 3:1. The page shows the ratio against white and against black.

Are my colors saved?

Only on your device. The current palette and recent rounds are kept in your browser's local storage and never sent to a server. Use the clear button in the history to remove them.

Related games