Random Color Generator

Generate random colors with copy-ready codes.

Export:
#EE8C06
HEX #EE8C06 Copy
RGB rgb(238, 140, 6) Copy
HSL hsl(35, 95%, 48%) Copy
#A5F5A4
HEX #A5F5A4 Copy
RGB rgb(165, 245, 164) Copy
HSL hsl(119, 80%, 80%) Copy
#D15C96
HEX #D15C96 Copy
RGB rgb(209, 92, 150) Copy
HSL hsl(330, 56%, 59%) Copy
#0EEC4A
HEX #0EEC4A Copy
RGB rgb(14, 236, 74) Copy
HSL hsl(136, 89%, 49%) Copy
#7E44C4
HEX #7E44C4 Copy
RGB rgb(126, 68, 196) Copy
HSL hsl(267, 52%, 52%) Copy
#BC751A
HEX #BC751A Copy
RGB rgb(188, 117, 26) Copy
HSL hsl(34, 76%, 42%) Copy

Frequently Asked Questions

How are random colors generated?

The tool generates random values for each color channel. In RGB mode, each channel (red, green, blue) gets a random value between 0-255. You can optionally constrain the hue range, minimum saturation, or lightness range to generate random colors within a specific color family.

Can I generate multiple random colors at once?

Yes — specify how many colors to generate (up to 100) and get an instant palette of random colors. Each color displays its HEX, RGB, and HSL values. This is useful for brainstorming, creating random art, or generating test data for design prototypes.

How do I get only pastel or dark colors?

Use the lightness and saturation filters. For pastels, set high lightness (70-90%) and moderate saturation (30-60%). For dark colors, set low lightness (10-30%). For vivid colors, set high saturation (80-100%). These constraints ensure every generated color matches your desired aesthetic.

Can I lock the hue and randomize saturation and lightness?

Yes — lock any combination of HSL parameters to constrain the randomization. Lock hue to get random variations of a specific color family. Lock saturation to get colors with consistent vibrancy. This gives you controlled randomness for building cohesive palettes.

Is the randomization truly random?

The generator uses Math.random() for standard randomization, which is sufficient for color generation. It produces a uniform distribution across the selected color space. While not cryptographically secure, it provides excellent variety and no discernible patterns in the generated colors.