Skip to content

Colour converter

Paste a colour in any format (HEX, rgb() or hsl()) and get all the others instantly.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · Colour converter

Runs in your browser · 100% local
#FF8800
Darker shades
Lighter shades
Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Type or paste the colour: #ff8800, ff8800, rgb(255, 136, 0) or hsl(32 100% 50%).

02

Take a look at the preview and the converted values.

03

Copy the format you need with a single click.

Examples

Examples

HEX to RGB

#1e90ff is rgb(30, 144, 255).

RGB to HSL

rgb(255, 99, 71) is hsl(9, 100%, 64%).

Short HEX

#f80 is the same as #ff8800.

Reference guide

What you need to know

HEX and RGB describe the same information: the amount of red, green and blue on a scale from 0 to 255. HSL expresses this as hue (0–360°), saturation and lightness, which makes it easier to create variations of a colour.

It accepts 3-, 4-, 6- and 8-digit HEX values, and the rgb() and hsl() syntaxes with either commas or spaces, including the alpha channel.

Frequently asked questions

Frequently Asked Questions

Divide the code into three pairs and convert each one from hexadecimal to decimal: #faae33 → fa = 250, ae = 174, 33 = 51.

Related tools

Other tools that can help with similar tasks.

More at Features→
Colour converter: HEX to RGB, RGB to HSL and CMYK · ByTooly