🫧 SUGI

Advertisement

🎨

Random Color Generator – HEX and RGB color picker

Random color generator: pick 1 to 12 random colors with HEX and RGB codes, lock the ones you like and copy them all. Free, no sign-up.

Advertisement

About this tool

A random color generator picks colors for you at random and shows each one with its HEX and RGB code, so you can use them for design ideas, palettes, drawing practice or placeholder colors.

Choose how many colors you want from 1 to 12 and press the button. Each swatch shows a color block, the code, and a lock box. Click a block to copy its HEX code, or use Copy all HEX to get the whole list.

How do I keep a color I like? Tick Lock under that swatch, then generate again: locked colors stay and the rest change, which is a handy way to build a palette step by step. What is the difference between HEX and RGB?

They describe the same color in two ways. HEX such as #3366ff is three pairs of base-16 digits, and RGB such as rgb(51, 102, 255) gives the red, green and blue amounts from 0 to 255. Are the colors truly random?

Each channel comes from your browser's secure random generator, so every color is equally likely, which also means some results will look dull or clash.

Random colors do not guarantee good contrast, so check text readability before using a pair for a real design.

To turn a code into other formats, try the Color Code Converter on this site, and for smooth blends see the CSS Gradient Generator. Everything runs in your browser and nothing is sent or saved.

How to use

  1. Enter how many colors you want (1 to 12).
  2. Press Generate colors, and tick Lock under any color you want to keep.
  3. Click a color block to copy its HEX code, or press Copy all HEX.

Similar free tools

Made by SUGI and checked against our content guidelines · Last updated 2026-11-13 · How we make content

Advertisement