Color Converter: HEX, RGB and HSL

Pick a colour or type a value and get all formats, plus a contrast check for readable text.

Quick answer: The Color Converter turns any colour into HEX, RGB and HSL. Pick a colour with the picker or type a value, then copy the format you need. It also shows contrast ratios against white and black.

Free, no signup. Updated 2026-11-27.

How to use Color Converter (HEX, RGB, HSL)

  1. Pick a colour or type a HEX, RGB or HSL value.
  2. Read the other formats.
  3. Check the contrast message.
  4. Copy the format you need.

Features

Frequently asked questions

How do I convert HEX to RGB?

Type the HEX code and read the RGB value. For example #1455D9 is rgb(20, 85, 217).

What contrast do I need?

WCAG asks for at least 4.5 to 1 for normal text.

What is HSL?

Hue, saturation and lightness, a way to describe colour that is easier to adjust by hand.

How to convert hex to rgb?

Open the free Color Converter (HEX, RGB, HSL) in your browser. Pick a colour or type a HEX, RGB or HSL value. Read the other formats. Check the contrast message. It needs no signup and your files are not uploaded.

How to convert hex to rgb in javascript?

Open the free Color Converter (HEX, RGB, HSL) in your browser. Pick a colour or type a HEX, RGB or HSL value. Read the other formats. Check the contrast message. It needs no signup and your files are not uploaded.

How to convert hex to rgb python?

Open the free Color Converter (HEX, RGB, HSL) in your browser. Pick a colour or type a HEX, RGB or HSL value. Read the other formats. Check the contrast message. It needs no signup and your files are not uploaded.

How to calculate hex to rgb?

Open the free Color Converter (HEX, RGB, HSL) in your browser. Pick a colour or type a HEX, RGB or HSL value. Read the other formats. Check the contrast message. It needs no signup and your files are not uploaded.

People also search for

Guide

More free tools