Color Converter

Choose a color or paste a HEX value to see its RGB and HSL equivalents instantly.

RGBrgb(59, 91, 219)
HSLhsl(228, 69%, 55%)

About the Color Converter

Designers and developers describe the same color in several notations, and this tool keeps them in sync. Pick a color from the visual picker or paste a value, and it shows the equivalent HEX (like #3498db), RGB (red, green and blue from 0 to 255) and HSL (hue, saturation and lightness) all at once.

How to use it

  • Drag the color picker or paste a HEX, RGB or HSL value.
  • Read every format update together in real time.
  • Copy the notation your stylesheet or design tool expects.

HEX and RGB describe the same point in the sRGB color space, just written differently, while HSL re-expresses it in a way that makes tweaking shades intuitive - nudge the lightness for a tint, the saturation for a more muted tone. A common workflow is grabbing a HEX from a brand guide and converting it to HSL to build a palette. All conversion runs in your browser, so nothing is uploaded.

Frequently asked questions

What is the difference between HEX, RGB and HSL?

HEX and RGB both define a color by its red, green and blue components in the sRGB space, just written as hex digits or 0-255 numbers. HSL describes the same color as hue, saturation and lightness, which is easier for adjusting tints and shades.

Can I paste a value in any format?

Yes. You can enter a HEX code, an RGB triple or an HSL value, and the converter fills in the other notations automatically.

Does the converter support alpha or transparency?

It focuses on the opaque HEX, RGB and HSL values. For transparency you would add an alpha channel separately, such as an rgba() value or an 8-digit HEX.

Are my color values sent to a server?

No. The conversion happens entirely in your browser, so nothing you enter is uploaded.

Related tools