Color Converter

Convert colours between HEX, RGB, HSL and other common colour formats.

This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.

Input
Colour value
Output
Converted colour values
Category
Developer Tools
Status
Available now
Price
Free — no subscription, no account

How to use Color Converter

  1. Enter a colour as HEX, RGB, RGBA, HSL, HSLA or a CSS colour name.
  2. Every other format is calculated at once, with a live swatch.
  3. Copy the value you need, or check the contrast panel to see the ratio against white and black.

Frequently asked questions

Which colour formats are accepted?

HEX (3, 4, 6 and 8 digits), rgb(), rgba(), hsl(), hsla() and the standard CSS colour names such as rebeccapurple or tomato.

What does the contrast ratio mean?

It is the WCAG contrast ratio between your colour and a background. A ratio of 4.5:1 or higher passes WCAG AA for normal text, and 7:1 passes AAA. The tool tells you which threshold your colour clears.

Is anything sent to a server?

No. All colour maths runs in your browser.

Is the Color Converter free?

Yes. It is completely free, needs no account, and has no usage limit.

Related tools