Random Color

Random Color generates a random HEX color code with one click, a quick tool for design inspiration, a palette starting point, or just for fun.

#3366cc

How it works

  1. 1A color is shown automatically when the page loads.
  2. 2Press 'New Color' to generate a new random color.
  3. 3The HEX code is shown below the color swatch.
  4. 4Use 'Copy' to copy the HEX code to your clipboard.

Frequently asked questions

How are the colors generated?+

Each of the red, green and blue (RGB) channels gets an independent random value between 0-255, then it's converted to HEX, so some colors can come out quite muted or oversaturated.

What should I use for more harmonious/aesthetic colors?+

Random generation is pure chance; if you want a harmonious palette derived from a specific base color, use the Palette Generator (produces complementary/analogous palettes based on color theory).

Is the generated color always at a readable contrast?+

No, this tool doesn't check contrast or accessibility; before using it as text/background, check WCAG compliance with the Contrast Checker tool.

Does it show RGB/HSL alongside HEX?+

No, only the HEX code is shown; use the HEX ↔ RGB Converter or HSL Converter tools to convert to other formats.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/random/random-color/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="Random Color · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Fair Randomness Guide →

Command Palette

Search for a command to run…