Toolvist

Conversor de HSL a HEX y RGB

Convierte valores de color entre los formatos HSL, HEX y RGB.

Conversor de HSL a HEX y RGB gratuito

El conversor de HSL traduce colores entre los formatos HSL, HEX y RGB al instante. Ajusta el tono, la saturación y la luminosidad, o introduce cualquier formato, y los demás se actualizan en tiempo real.

The neighbouring conversions are the HEX to RGB / RGB to HEX Converter and the RGB to CMYK Converter. To check the result against accessibility requirements, the Color Contrast Checker is the verification step.

Cómo usar Conversor HSL

  1. 1 Enter your colour in any field — hex, RGB, or HSL — and the other two update together.
  2. 2 Drag the saturation and lightness sliders to explore variations of the same hue without leaving the hue you picked.
  3. 3 Read the three HSL numbers as three separate jobs: hue is which colour, saturation is how vivid, lightness is how dark or light.
  4. 4 Copy whichever notation your stylesheet needs.

Cómo usarlo

Arrastra los controles de HSL o escribe un valor HEX o RGB. El HEX, el RGB y la muestra de vista previa se mantienen sincronizados.

  • Conversión en vivo HSL ↔ HEX ↔ RGB
  • Controles de HSL y entrada manual
  • Muestra de vista previa para comprobar rápidamente

Preguntas frecuentes

Why would I use HSL instead of hex or RGB?

HSL separates the three properties a designer actually reasons about. Want the same blue but 20% darker? Change one number and the hue is untouched. In hex you would have to recalculate all three channels and would probably drift the hue doing it. That property makes HSL much better for building a palette and for generating hover and border shades programmatically.

Does HSL cover the same range of colours as RGB?

It covers exactly the same set. HSL is a coordinate transform of RGB, not a different gamut, so every sRGB colour has an HSL representation and vice versa. What it does not do is reach outside sRGB — for the wider gamut you need `lab()`, `lch()` or `oklch()`, which describe perceptual lightness more faithfully.

Why does `hsl(0, 0%, 50%)` look like grey while `hsl(0, 100%, 50%)` is a vivid red?

Because lightness and saturation act independently. At zero saturation the hue becomes irrelevant and every value collapses to grey. At 100% saturation the hue is at full purity, and 50% lightness places it at the brightest point for that hue in sRGB.

Herramientas de imagen y color relacionadas

Ver todo en Herramientas de imagen y color →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con Conversor HSL:

Explorar el directorio completo →