Color Code Converter: HEX, RGB & HSL

Convert between HEX, RGB and HSL instantly. Click any value to copy it.

Color Picker

Popular Colors Used Worldwide

161 named colors designers use every day. Click any color to copy its HEX.

No colors match that. Try another name or HEX code.

Most Popular Conversions

Click any value to copy it instantly

How to Use the Color Converter

Colors can also be described in various ways; these are called color codes. Use this tool to instantly change between them; type any of the colors in any format and the other two will appear.

  1. Enter Your ColorEnter a HEX, RGB or HSL number in one of the three text boxes.
  2. See All FormatsThe other two formats are updatable as you type.
  3. Click to CopyTo copy any result and paste it into your design tool or CSS, just click on it.

Why Use Our Color Converter?

Designers receive colours in every sort of format — your client provides RGB, your CSS requires HEX, and your designer pal provides HSL. This tool will enable you to convert from one to another in a single click.

No Signup, No Page Reloads, Mobile Friendly. Free forever.

Color Formats Explained

HEX

Web code with 6 digits such as #FF6B1A. Wrapping words in a compact way that is perfect for CSS.

RGB

Red, Green and Blue values between 0-255. For some reason, what screens natively support.

HSL

Hue, Saturation, Lightness. The easiest and most user-friendly way to adjust colours.

If You Are Working with Color Codes, Here Are Some Tips for You

Websites

Simplicity – use HEX in CSS. Use RGBA for transparency.

Design Tools

Paste any of the three formats into Figma or Photoshop.

Print

HEX/RGB are colours for the screen. If printing, go to CMYK in your design software.

Developers

In HSL, variations in color are easy to make; simply adjust the lightness value.

Understand How to Use Color Codes

Desire to learn more about color formats? These are reliable sources that assist:

Frequently Asked Questions

What does HEX to RGB mean?

Type the HEX code in the HEX box — the RGB value appears instantly. Click it to copy.

What is the difference between HEX and RGB?

They describe the same color differently. HEX is a 6-digit code (#FF0000); RGB lists red, green, blue amounts (255, 0, 0).

What type of CSS format should I use?

HEX for simplicity, RGBA when you need transparency, HSL when building color variations.

Will this converter run on my cell phone?

Yes, it works on all modern phones and browsers.

Are there any limits to conversions?

No — convert as many colors as you like, free forever.

Do converted colors match the originals?

Yes, conversions are mathematically exact between HEX, RGB and HSL.

Copied!