Random Color Generator
Click Generate to roll a fresh random color. The hex, RGB, and HSL values appear together — copy any one with a click.
How it works
We pick three independent random integers between 0 and 255 for red, green, and blue. The hex code, HSL, and contrasting text color (black or white based on luminance) are derived from those three values.
Frequently asked
- Are the colors uniformly distributed?
- Each RGB channel is uniformly random, but visually the distribution is not "perceptually uniform" — bright vivid colors feel rarer because there is less RGB space at high saturation.
- How do I generate a palette?
- Click Generate multiple times and copy the colors that work together. A future version will offer harmony-based palette generation (complementary, triadic).
- Can I lock a value?
- Not yet — every click rolls all three channels. We may add per-channel locks later.
Other decision tools
Popular generators
Popular calculators
Share
Popular converters
- Centimeters to incheslength
- Kilograms to poundsmass
- Millimeters to incheslength
- Pounds to kilogramsmass
- Celsius to fahrenheittemperature
- Kilometers to mileslength
- Inches to centimeterslength
- Meters to feetlength
- Fahrenheit to celsiustemperature
- Inches to feetlength
- Inches to millimeterslength
- Liters to US gallonsvolume