Color Converter (HEX, RGB, HSL)

Convert colors between HEX, RGB, HSL and CMYK. 🔒 Runs in your browser

Output

How to use the Color Converter

  1. Paste your text in the Input box, drop a file on it, or click "Example" to try it.
  2. The output updates instantly as you type.
  3. Click Copy or Download. Use "Use as input" to chain another operation.

About this tool

Paste any color as HEX, RGB, HSL or a CSS name and get every other format plus contrast ratios. Browse all 148 CSS color names with shades and palettes on the Color names page (/colors).

Frequently asked questions

Is the Color Converter free?

Yes. The Color Converter is completely free to use, with no sign-up and no limits on normal use.

Is my data safe?

Yes. This tool runs entirely in your web browser using JavaScript. Your text is never uploaded to our servers.

Is there a size limit?

There is no fixed limit: it depends on your device. Several megabytes of text are processed in a fraction of a second on most computers.

Does it work on mobile?

Yes, it works in any modern browser on phones, tablets and computers. No app to install.

Related tools

HTML ViewerPaste HTML and preview it live, side by side, in a safe sandbox.JSON Formatter & ValidatorBeautify, validate and minify JSON with clear error messages.JSON MinifierMinify JSON by removing whitespace to reduce its size.JSON to CSVConvert a JSON array of objects to CSV for Excel or Google Sheets.CSV to JSONConvert CSV (with header row) to a JSON array of objects.XML FormatterPretty-print and indent XML, sitemaps and RSS feeds, or minify them.HTML MinifierMinify HTML by removing comments and collapsing whitespace.CSS Minifier & BeautifierMinify CSS for production or beautify it to make it readable.Markdown to HTMLConvert Markdown to clean HTML (GitHub-flavoured).