Skip to main content
Utilz Utilz

Random Color Generator

Generate random colors and palettes with hex, RGB, and HSL values

Why Use This Tool?

  • Instantly generate random colors in HEX, RGB, and HSL formats
  • Lock favorite colors and regenerate only the ones you want to change
  • One-click copy for any color value — perfect for designers and developers

How to Use

  1. Set the number of colors to generate (1-10)
  2. Click Generate to create random colors
  3. Click any color value (HEX, RGB, HSL) to copy it
  4. Lock colors you like to keep them when regenerating
  5. Generate again to replace only unlocked colors

FAQ

What color formats are supported?

Each generated color is displayed in three formats: HEX (e.g., #3B82F6), RGB (e.g., rgb(59, 130, 246)), and HSL (e.g., hsl(217, 91%, 60%)). Click any value to copy it.

Can I save colors I like?

Yes. Click the lock button next to any color to keep it. When you generate new colors, locked colors will remain unchanged while unlocked ones are replaced.

How are the colors generated?

Colors are generated using cryptographically secure random bytes from the Web Crypto API. Each color component (R, G, B) is independently randomized.

Can I use these colors in my projects?

Absolutely. The generated colors are random values with no restrictions. Copy the HEX, RGB, or HSL value and use it directly in your CSS, design tools, or any application.

Related Tools

Random Picker

Randomly pick from a list

Wheel Spinner

Spin a wheel to pick randomly

Coin Flip

Flip a virtual coin heads or tails

JSONPath Tester

Test JSONPath expressions

SVG to PNG

Convert SVG to PNG images