Report a problem

CONVERTER TOOL

HSL to HEX Converter

Convert hue, saturation and lightness to a six-digit HEX color. Preview the color and copy HEX or RGB.

HSL to HEX Converter

FREE ONLINE TOOL

#0080FF

rgb(0, 128, 255)

Hue wraps around 360°. Saturation and lightness must be between 0 and 100%. RGB channels are rounded to 8-bit integers. Produces an opaque sRGB color; alpha is not included.

hsl(210deg 100% 50%)

Which tool fits your task?

Compare the purpose of these tools before choosing.

  • HEX to RGB Color Converter →

    Convert a HEX color to RGB or RGB values to HEX and preview it.

  • HSL to HEX Converter · You are here

    Convert hue, saturation and lightness to a six-digit HEX color. Preview the color and copy HEX or RGB.

  • Image Color Picker →

    Pick a pixel from an image and copy its HEX, RGB and HSL color locally.

WHEN IT HELPS

Common uses

  • Prepare CSS values for a web design.

IN PRACTICE

Example

HSL(210, 100%, 50%) = #0080FF and RGB(0, 128, 255).

GOOD TO KNOW

What assumptions should I check?

Hue wraps around 360°. Saturation and lightness must be between 0 and 100%. RGB channels are rounded to 8-bit integers. Produces an opaque sRGB color; alpha is not included.