Random Color Generator

Generate random color palettes with pastel, warm, cool, monochrome, complementary, triadic & tetradic modes. Lock swatches, export CSS/PNG/JSON. 100%.

How to use

  1. Pick a palette mode — Choose Random, Pastel, Warm, Cool, Monochrome, or harmony rules.
  2. Generate — Tap Generate or press Space to roll new colors.
  3. Lock favorites — Lock any swatch to keep it while regenerating the rest.
  4. Export — Copy CSS variables, download JSON, or save as PNG.

Frequently asked questions

What's the difference between modes?

Random is pure RGB chaos. Pastel softens colors. Monochrome varies lightness of one hue. Complementary/Triadic/Tetradic use color theory rules.

How do locked colors work?

Click the lock icon on a swatch — it'll stay the same when you regenerate the rest of the palette.

Can I use the spacebar?

Yes. Press Space to instantly regenerate non-locked colors.

Does it work offline?

Yes. After the first load it works without internet.

Can I lock the hue and re-roll saturation?

Yes — toggle the HSL lock icons before re-generating.

Is the output WCAG-safe?

Toggle the 'AA contrast' option to constrain to colours readable on white or black.

Are colors saved between visits?

No — each refresh is fresh. Copy any colour you want to keep.

What about CMYK?

Not generated directly — convert any HEX result with our Color Converter.

Is anything sent to a server?

No — purely local.

Related free tools

  • Text Shadow Generator — Design CSS text shadows with a visual editor and live preview.
  • Placeholder Image Generator — Generate placeholder images with custom size, color, and text.
  • Color Palette Generator — Generate harmonious color palettes from any base color.
  • Color Contrast Checker — Check WCAG 2.1 contrast ratio with AA / AAA pass marks for normal text, large text, and UI components.
  • CSS Clamp Generator — Build fluid clamp() expressions for responsive typography and spacing — no media queries needed.
  • Pixel to REM Converter — Live two-way px ↔ rem conversion with custom root font-size. Built for accessible, user-respecting design.
  • Color Blindness Simulator — Preview images and UI through protanopia, deuteranopia, tritanopia, and achromatopsia simulations.
  • CSS Unit Converter — Convert any CSS length unit to all others with customizable base font-size and viewport dimensions.
  • CSS Triangle Generator — Generate pure-CSS triangles for tooltips, arrows, and speech bubbles. 8 directions, any size or color.
  • CSS Cubic Bezier Generator — Design custom easing curves visually with live curve and animation preview. Production-ready CSS.
  • CSS Glassmorphism Generator — Design frosted-glass UI panels with backdrop blur, opacity, saturation, and tint. Live preview.
  • CMYK Color Converter — Convert HEX and RGB to CMYK percentages for print. Two-way conversion with live preview.

Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools