All tools / Developer tools / Color converter
← Back to all tools

Color converter

Convert HEX colors into RGB and HSL values.

About this tool

Translate a color between three common web-design formats. Use the swatch to visually confirm the color.

Enter a six-digit HEX color or use the color picker. The output assumes standard sRGB colors.

How to use this tool

  1. Enter six HEX digits or choose a color in the picker.
  2. Read the RGB and HSL equivalents.
  3. Copy the displayed values or print them for reference.

Understanding the terms

HEX
hexadecimal red, green and blue values.
RGB
red, green and blue channels, each 0 to 255.
HSL
hue, saturation and lightness.
sRGB
the standard color space assumed here.

Frequently asked questions

What does #FF0000 represent?

Pure red.

Can I use three-digit HEX?

Enter the expanded six-digit form.

Do the formats describe different colors?

No; they express the same sRGB color approximately.

Does HSL include transparency?

Not here; alpha is not included.

Why can a print look different?

Printers and displays use different color systems and profiles.

← Browse all tools