Random Color Generator-- Color Randomizer

Generate random colors with HEX, RGB, and HSL values. Create random color palettes.

Random Color Generator Tool

Click Generate for a single random color, or Generate Palette for five colors

Why Use Our Random Color Generator?

Instant Random

Generate random colors in one click with full format details.

Palette Mode

Generate 5 random colors at once for quick palette inspiration.

3 Formats

Get HEX, RGB, and HSL values for every generated color.

One-Click Copy

Copy any format value to your clipboard instantly.

100% Private

All generation in your browser. No server requests.

Free Forever

No signup, no limits. Free random color generation.

[Ad]

Other Color Tools

Complete Random Color Guide

Random color generation creates colors by selecting random values for each RGB channel (0-255). This produces any of the 16,777,216 possible colors (256 x 256 x 256) in the sRGB color space with approximately equal probability.

Our generator uses JavaScript's Math.random() to produce pseudo-random numbers, then maps them to RGB byte values. The RGB result is automatically converted to HEX (#RRGGBB) and HSL (hue, saturation, lightness) formats.

Note that truly uniform random colors in RGB space may not appear perceptually uniform -- there tend to be more dark colors than bright ones. For perceptually balanced random colors, consider generating in HSL space with constrained saturation and lightness ranges.