Random Color Generator
Generate random colors with this free online random color generator — pastel, vivid, dark, warm or cool, with HEX, RGB and HSL codes to lock and copy.
Processed locally in your browserHow?
This tool runs in this browser tab. The files, text and values you enter are not uploaded to clkr.work servers — closing the tab clears them. Anonymous usage events (such as which button was pressed) are counted, never your content. Privacy policy
Found it useful? Share Random Color Generator
Free, no sign-up, works in the browser — send it to a friend or add it to your site.
Related tools
- Color PickerPick a color and convert HEX to RGB, HSL, HSV and CMYK online free. Free online color picker with image eyedropper, tints, shades and WCAG contrast check.
- Color Blindness SimulatorSee images as color blind people do — simulate deuteranopia, protanopia, tritanopia and achromatopsia online free, with adjustable severity.
- Color Palette GeneratorGenerate color palettes from harmony rules, a base color or an image with this free online color palette generator. Lock colors and export HEX, CSS or Tailwind.
- Favicon GeneratorCreate a favicon from an image, letter or emoji with this free online favicon generator. Get favicon.ico, Apple and Android icons, a manifest and HTML code.
- Logo MakerCreate a logo with this free online logo maker: pick an icon, font, layout and colors, then download a PNG or SVG logo. No sign-up or watermark.
- Online DrawingPaint online free on a blank canvas — pen, highlighter, eraser, shapes and fill bucket, any color, undo and PNG download. Free online drawing board.
How to use Random Color Generator
- 1Choose a style — any, pastel, vivid, light, dark, warm, cool or grayscale — and how many colors
- 2Press Generate or the Space bar to get new random colors; lock the ones you like to keep them
- 3Click a swatch to copy its HEX code, or copy RGB, HSL, all HEX codes or CSS variables
Frequently asked questions
How does the random color generator work?▾
It picks random values for hue, saturation and lightness within the range of the style you choose, then converts them to HEX, RGB and HSL. 'Any' can produce every one of the 16.7 million colors.
How do I get random pastel colors?▾
Choose Pastel: colors get high lightness (about 78–88%) and moderate-to-high saturation, giving soft tones that work well for backgrounds, nurseries and illustrations.
What is a HEX color code?▾
A six-digit code like #0D9488 that sets the red, green and blue levels (00–FF each) of a color. It's the standard way to write colors in HTML, CSS and design tools.
Can I keep a color and change the others?▾
Yes — press Lock under a color, then Generate. Locked colors stay while the rest are replaced, which is a quick way to build a palette.
What is the difference between RGB and HSL?▾
RGB mixes red, green and blue light (0–255 each). HSL describes a color by hue (0–360°), saturation and lightness (percentages), which is easier for making lighter, darker or more muted versions of a color.
What can I use random colors for?▾
Design inspiration, brand exploration, art prompts and challenges, game or party picks, data visualization testing and teaching color theory.
Embed Random Color Generator on your website▾
Paste this snippet into your page. The embedded tool runs in your visitor's browser and shows a small “Powered by clkr.work” link.