Random Colour Generator
Generate random colours — any, pastel, vivid or dark — with HEX, RGB and HSL codes.
Calculator
How to use
- 1
Pick a style: any, pastel, vivid or dark.
- 2
Press Generate (or the space bar) for a new colour.
- 3
Copy the code, or click a recent colour to bring it back.
Questions
Are the colours truly random?
Yes. They use your device’s secure random number generator (crypto.getRandomValues), so every colour is equally likely within the chosen style.
How many colours are possible?
With 256 levels each of red, green and blue there are 16,777,216 possible colours.
About this Random Colour tool
Random Colour Generator — Generate random colours — any, pastel, vivid or dark — with HEX, RGB and HSL codes. It is one of 200 free tools on namasivayam.in, made by software engineer Namasivayam Vadivelan for everyday use in India.
Everything is calculated instantly in your browser: nothing you type or upload is sent to any server, there is no sign-up, and it works on mobile and desktop. Pick a style: any, pastel, vivid or dark.
Related reading
Articles that go with this tool

How AI Chatbots Actually Work — Explained Simply, Without the Jargon
AI chatbots can write emails, explain code and plan trips. But how do they really work, why do they sometimes confidently get things wrong, and how should you use them wisely?

Passkeys Explained: The Simple, Safer Way to Log In Without Passwords
Google, Apple and Microsoft now let you sign in with passkeys instead of passwords. What a passkey is, why it can’t be phished, and how to set one up in five minutes.

Public Wi-Fi Safety: 8 Rules Before You Connect at Airports, Cafés and Hotels
Free Wi-Fi is convenient, but it can expose your data to strangers on the same network. Eight simple rules to stay safe on airport, café, railway and hotel Wi-Fi.
Related tools
More colour tools you may like
Results are estimates to help you plan. They are not financial, tax or medical advice.