Color Converter
HEX, RGB, HSL and CMYK, plus contrast checking.
- Free
- No signup
- Nothing uploaded
- No watermark
Colour
Accepts hex, rgb(), rgba(), hsl() or a CSS colour name.
- HEX#dc2020
- RGBrgb(220, 32, 32)
- RGBArgba(220, 32, 32, 1)
- HSLhsl(0, 75%, 49%)
- CMYKcmyk(0%, 85%, 85%, 14%)
Contrast against text
White text
4.92:1 — AA
Black text
4.27:1 — AA large
WCAG asks for at least 4.5:1 for body text and 3:1 for large text.
How to Use the Color Converter Online
Paste a colour in any common form, say #dc2020, rgb(220, 32, 32) or the name tomato, and Color Converter writes it out as HEX, RGB, RGBA, HSL and CMYK. It also shows the contrast ratio of that colour against black and against white text, graded AAA, AA or fails. Designers and front-end developers use it to move a brand colour between CSS, a design file and print.
Converts between HEX, RGB, HSL and CMYK, and checks contrast while it is at it. The conversions are exact arithmetic rather than lookup approximations, so a value round-trips unchanged. CMYK is the exception and always will be: it describes ink on paper rather than light on a screen, so the figure here is a standard conversion rather than what your printer will actually lay down.
No software to install Free Works on any device
Step-by-Step Guide to Using the Color Converter
-
1. Paste or type your input
-
2. Adjust the options to suit
-
3. Copy or download the result — it updates as you type
What is the Color Converter?
Converts between HEX, RGB, HSL and CMYK, and checks contrast while it is at it. The conversions are exact arithmetic rather than lookup approximations, so a value round-trips unchanged. CMYK is the exception and always will be: it describes ink on paper rather than light on a screen, so the figure here is a standard conversion rather than what your printer will actually lay down.
At a glance
- Takes: Hex (3, 4, 6 or 8 digits), rgb(), rgba(), hsl() or one of the CSS colour names
- Gives: HEX, RGB, RGBA, HSL and CMYK, each with a copy button
- Contrast: Ratio against black and white text, with the WCAG grade (AAA, AA, AA large, fails)
- Thresholds: 4.5:1 for body text, 3:1 for large text, 7:1 for AAA
- Also: A colour picker swatch, so you can pick instead of type
- Price: Free, no signup
Why Use Text Tools Online?
Counting words, changing case, pulling emails out of a page or writing an amount in words are small jobs that eat time by hand. These tools do them the moment you paste, and the text stays in your browser.
“Paste once, and let the tool do the fiddly part.”
- Counts as you type
- Lists sorted and cleaned
- QR codes for anything
- Cheque amounts in words
- Case changed in one click
- Emails and links pulled out
- Citations in APA or Chicago
- Handy commands for developers
Popular Uses for Text Utilities
Short, repetitive text jobs are what these tools were made for.
- Essay word limits Check that an essay or application answer is within the word or character limit.
- Fixing capital letters Turn text typed in CAPS LOCK into normal sentence case without retyping it.
- Collecting contacts Pull every email address or phone number out of a long message or page.
- Writing cheques Get a rupee or dollar amount written correctly in words for a cheque or invoice.
- QR codes Make a QR code for a website link, contact card, email address or event.
- Reference lists Format a book or website reference in APA or Chicago style for an assignment.
- Tidying lists Sort lines alphabetically, remove repeats or add numbers to a pasted list.
- Command helpers Build a cron schedule, git command or chmod setting without searching the manual.
What You Can Do with the Color Converter
Exact where the spaces allow it, and says so where they do not
Infers column types from the data instead of treating every field as a string
Escapes and quotes correctly, so a value containing the delimiter does not break the output
Why Use ToolXkit for Color Converter?
Your files stay with you
Everything runs inside your browser. Nothing you open or type is uploaded to a server.
Free, with no catch
No signup, no watermark and no daily limit on how often you use it.
Fast
Results appear in seconds, because nothing has to travel over the internet and back.
Works on any device
Use it on a computer, tablet or phone, in Chrome, Edge, Firefox or Safari.
Nothing to install
No app, no extension and no desktop program. Open the page and start.
Made for real people
Plain words and clear buttons, built by one developer who wanted tools like this to exist.
Writing and Text Tools for Different Users
Students
Count words, format citations and tidy notes before submitting coursework.
Writers and bloggers
Change case, find repeated words and check length before publishing a piece.
Office workers
Clean up pasted lists, find and replace names and write amounts in words.
Marketers
Extract emails, links and hashtags from pages and make QR codes for campaigns.
Developers
Encode Base64, build cron lines and generate git and shell commands quickly.
Accountants
Write invoice and cheque amounts in words and tidy columns of pasted figures.
Best Times to Clean Up Text
Text tools save time when you are:
- Keeping to a word limit
- Fixing text typed in capitals
- Building a contact list from emails
- Writing out a cheque
- Printing a QR code poster
- Finishing a reference list
- Removing repeats from a list
- Setting up a scheduled job
Tips and Good to Know
-
CMYK here is a standard formula, not your printer's profile. Ink on paper will differ, so check a printed proof before ordering.
-
It grades contrast only against black and white. For two colours of your own choosing, a dedicated contrast checker is the right tool.
-
It does not output HSV, LAB or OKLCH.
Frequently Asked Questions
Answers to common questions about this tool.
Do I need to install anything to use the Color Converter?
No. Color Converter runs entirely in your browser — there is nothing to download, no extension and no desktop program. It works the same on Windows, macOS, Linux, Android and iPhone.
Is it safe to use the Color Converter online?
Safer than the usual alternative, yes. Most online tools upload your file to a server you know nothing about, where it sits until someone deletes it. Here the file never leaves your device — the processing happens in the page itself, so there is no server copy to leak, retain or sell.
Is my text sent anywhere when I use Color Converter?
No. The text you paste is handled in your browser and never leaves the page. That makes it safe for drafts, customer lists and anything else you would rather keep to yourself.
Is there a limit on how much text I can paste?
The site sets none. Long documents are handled by your own device, so a whole book may be slow on an older phone. Articles, essays and long lists are no trouble.
Can I use Color Converter without making an account?
Yes. There is no login, no email to hand over and no daily limit. Open the page, paste or type, and copy or download the result when it is ready.
Why does my word count differ from Microsoft Word?
Programs treat hyphenated words, numbers and symbols a little differently. The gap is usually a few words in a long piece. If a teacher or portal sets a limit, stay a little under it to be safe.
Do the QR codes made here expire?
No. The information is stored directly in the pattern, with no redirect through our servers, so the code keeps working for as long as the link or text inside it stays valid.
Further reading
- Unicode Consortium The body that sets how letters, symbols and emoji from every language are stored as text.
- Letter case (Wikipedia) The rules and names for upper case, lower case, title case and the styles programmers use.
- Base64 (MDN) A plain explanation of Base64, the encoding used to carry files and images as text.
More Text & Developer Tools
Other free tools for the same kind of job.
- JSON Formatter Format, validate and minify JSON, with the error explained. Open tool
- Password Generator Strong random passwords and memorable passphrases. Open tool
- QR Code Generator Turn a link, text or Wi-Fi details into a QR code. Open tool
- Add Line Breaks Put a line break after every full stop, comma or any marker you choose. Open tool
- Add Line Numbers Number every line, starting wherever you choose. Open tool
- Alphabetize Lines Put a list into A–Z order, with duplicates removed if you want. Open tool
- Amount in Words An amount of money written out, ready for a cheque or an invoice. Open tool
- Array Formatter Turn a list into an array literal in any language. Open tool
- ASCII Tree Generator Directory trees that render correctly in a README on every platform. Open tool