Color Code Converter
Pick any colour to get HEX, RGB, HSL and CMYK codes, shades and contrast.
Result
How to use
- 1
Pick a colour or type HEX / RGB.
- 2
Copy any format with one click.
- 3
Use the shades and the contrast check for your designs.
Questions
What contrast ratio is good for text?
WCAG recommends at least 4.5 : 1 for normal text and 3 : 1 for large text.
What is the difference between RGB and CMYK?
RGB is for screens (light), CMYK is for printing (ink). Conversions to CMYK are approximate.
About this Color Code tool
Color Code Converter — Pick any colour to get HEX, RGB, HSL and CMYK codes, shades and contrast. 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 colour or type HEX / RGB.
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.