GENERATORS · WEB CRYPTO RANDOMNESS

Random Colour Generator

Generate random colours, optionally constrained to pastel, vivid, dark, warm, or cool.

Result

Set the options and press the button to generate a result.

Options

About this tool

Press to generate a colour and get HEX, RGB, and HSL at once. A mood can constrain the result — pastel, vivid, dark, warm, or cool — by restricting the HSL sampling range, so a run of colours in one mood shares a consistent feel. Handy for palette inspiration, tag colours, and filling out a design mockup.

How it works

  1. Choose a mood, or leave it unconstrained.
  2. Set how many colours to generate at a time.
  3. Generate, then click any swatch to copy its value.

Limits and fairness

Sampled in HSL and converted to HEX and RGB. A mood constrains the sampling range; it does not guarantee any two colours work together.

Privacy

Lists, settings, and results live only in this browser's memory. Session history is cleared when you leave or reload. Nothing is uploaded, persisted, or written to the URL.

Frequently asked questions

How do the moods work?
By restricting the sampling range in HSL: pastel is high lightness with low saturation, vivid is high saturation at mid lightness, dark is low lightness, and warm and cool restrict the hue band. Because the range itself is constrained rather than results being filtered afterwards, every generated colour lands inside the mood.
Can I use the output directly as a palette?
As a starting point, yes. A shared mood means a shared feel, not sufficient contrast between the colours. Check any text and background pair against the WCAG 4.5:1 threshold with the colour picker, or build a full scale from one base colour with the palette tool.