Colour Converter

Paste a colour in any format and get all the others. Nothing is uploaded.

Your files stay with you. Your files never leave your browser. This tool runs on your device: nothing is uploaded to our servers, so there is nothing for us to store or see.

How to use it

  1. Type a colour in HEX, RGB, HSL or by name, or use the picker.
  2. Copy the format you need.
  3. Check the contrast notes for readable text.

Questions people ask

Which formats can I paste?
HEX with 3, 4, 6 or 8 digits, rgb() and rgba(), hsl() and hsla() in the comma or modern space style, and a few common colour names.
How does the contrast check work?
It uses the WCAG formula. 4.5:1 or more passes AA for normal text and 7:1 passes AAA. 3:1 is enough only for large text.
Why do RGB and HSL values differ slightly after converting back?
Both are rounded to whole numbers, so a round trip can change a value by one.
Does it work with transparency?
Yes. Alpha is kept, so rgba(0, 0, 0, 0.5) and #00000080 are treated as the same colour.

Want this inside your own account?

Marketiism keeps your invoice numbers, GST reports, UPI payment links and WhatsApp reminders in one place. Leave your details and we'll call to set it up for your business, or start the trial yourself.

Start free trial

We use this only to contact you about Marketiism. No spam.

More Developer tools

Image Colour Picker

Pick exact colours from a picture and get its main colours as HEX codes.

JSON Formatter

Format, validate and minify JSON, and see exactly which line has a mistake.

JSON to CSV

Turn a JSON list of records into CSV for Excel or Google Sheets.

CSV to JSON

Convert CSV rows into a JSON list, with numbers and true/false detected.

Try it on your own business for two weeks.

14 days free, no card. If you get stuck setting up WhatsApp, we'll get on a call and do it with you.