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
- Set the number of colors to generate (1-10)
- Click Generate to create random colors
- Click any color value (HEX, RGB, HSL) to copy it
- Lock colors you like to keep them when regenerating
- 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.