Random Color Generator
Generate random colors, lock the ones you like, build a palette.
A free online random color generator — HEX, RGB, and HSL for every color, with a lock to keep favorites while you keep generating. No signup, runs entirely in your browser.
What does a random color generator do?
A random color generator picks colors at random and shows them in every common format — HEX, RGB, and HSL — so you can grab whichever one your project needs. Locking a swatch keeps it fixed while the rest regenerate, which turns pure randomness into a practical way to build a small palette one keeper at a time.
HEX vs RGB vs HSL
HEX (#3b82f6) and RGB (rgb(59, 130, 246)) both describe a color by its red, green, and blue light components — HEX is just a compact base-16 encoding of the same three numbers. HSL (hsl(217, 91%, 60%)) describes hue, saturation, and lightness instead, which maps more closely to how people intuitively think about color and makes it easy to predictably lighten, darken, or desaturate a color by adjusting one number.
Building a palette with locking
Generate a batch, lock the swatch you want to keep, then hit Generate again — only the unlocked swatches change. Repeat until every swatch is one you're happy with. It's a faster way to land on a palette than generating one color at a time from scratch.
Common uses
Quick placeholder colors while prototyping a UI, inspiration for a brand or illustration palette, generating test data for a design system, or just picking a color for something when you don't have a strong preference.
Frequently asked questions
Related tools: Color Shades Generator · Color Contrast Checker · Color Name Finder