Convert colours
Write a colour in any CSS notation and get the others. Below you get the contrast ratio against white and black: the number that tells you whether text in that colour is readable.
Your text stays on your device: nothing is uploaded
Result
Paste something on the left: the result appears as you type.
How it works
Converting between HEX and RGB is arithmetic, and not a reason to open a tool. The contrast ratio is: it is defined by the WCAG guidelines and says how far apart two colours are to the human eye. Above 4.5 normal text is readable even for people with limited vision; above 3 large text is; below that, neither. The calculation is not the difference between the two colours: it goes through gamma-corrected luminance, because a screen does not emit light in proportion to the number you give it, and without that correction a mid grey comes out far lighter than you see it. We accept both the comma and the space notations, which are two syntaxes of the same CSS, and the common colour names. Everything happens here: no colour is sent anywhere.
What you paste is never uploaded. Anywhere.
Not to a server of ours, not to a third party, never. The text you type stays in your browser’s memory: it is read, processed and shown here, and you copy it. There is no path that takes it elsewhere, because there is no server to send it to. You can paste something confidential.
- Processed locallyThe computation happens on this page, using the browser’s own engine: no request goes out while you type.
- Nothing to upload, nothing to wait forOther services send your file to a server and then send it back to you. Here the file never leaves: there is no upload to wait for.
- No accountNo sign-up, no email, no daily limits to get around by paying.
- Nothing to deleteOthers promise to delete what you paste after an hour. We have nothing to delete: it never reached us.