Press the button below to instantly generate a random color in three formats.
HEX (with Alpha)
RGBA
HSLA
About This Random Color Generator
This free tool creates completely random colors and displays them in HEX, RGBA, and HSLA formats. This generator helps you quickly produce unique color values for testing, theming, or creative inspiration for your needs.
What Color Formats Are Included?
- HEX (with Alpha): Common in web design and supports transparency.
- RGBA: Red, green, blue, alpha — easy for CSS and JS.
- HSLA: Hue-based format useful for design and theming.
How the Generator Works
Each time you press the button, the script randomly selects hue, saturation, lightness, and transparency values, then converts them to all three formats (HEX, RGBA, HSLA). The previews update instantly so you can see the color before copying it.
Frequently Asked Questions
Could I copy the color values?
Yes. Just select the values in the color preview box and copy them.
Why use HSLA?
HSLA lets you adjust a color's hue, saturation, and lightness more intuitively, making it ideal for theming and design systems.
Is this tool free?
Yes — 100% free to use, no ads, no login.