Tres Formatos, una Sola Vista
HEX, RGB y HSL son visibles y editables al mismo tiempo — cambia uno y los demás se actualizan al instante.
Convierte colores entre los formatos HEX, RGB y HSL. Vista previa en vivo, presets rápidos, copia valores listos para CSS. 100% del lado del cliente, sin subidas.
A color converter translates colors between different format representations used in web design and digital graphics: HEX (#RRGGBB), RGB (0-255, 0-255, 0-255), HSL (hue, saturation, lightness), and HSV (hue, saturation, value). Each format describes the same color differently -- HEX is compact for CSS, HSL is intuitive for creating variations, and RGB maps directly to display hardware. This tool converts instantly as you type, entirely in your browser.
HEX, RGB, and HSL — all three formats update in real time as you type or pick. Copy CSS-ready values in one click. No uploads, no sign-up, no limits.
Escribe un valor HEX, ajusta las entradas numéricas de RGB/HSL o haz clic en un preset rápido.
La muestra de la parte superior se actualiza al instante para mostrar el color actual.
Usa el botón Copiar junto a HEX, RGB o HSL para copiar un valor listo para CSS.
HEX, RGB y HSL son visibles y editables al mismo tiempo — cambia uno y los demás se actualizan al instante.
Los botones de copiado te dan cadenas `#RRGGBB`, `rgb(r, g, b)` o `hsl(h, s%, l%)` que se pegan directamente en CSS.
Empieza desde la paleta predeterminada de Tailwind CSS o negro/blanco puro, luego ajusta con los deslizadores.
HEX (#RRGGBB) is the most compact color format for web design. Each pair of hexadecimal digits (00-FF) represents the intensity of red, green, and blue, respectively. The value 00 means the channel is off (black), and FF means it's at full intensity. For example, #FF0000 is pure red, #00FF00 is pure green, and #FFFFFF is white. HEX is the standard format in CSS, HTML, and design tools because it's short, unambiguous, and easy to copy-paste. Shorthand notation (#RGB) exists for colors where each pair is identical, like #F00 for red.
RGB uses decimal values (0-255) for the same three channels. It's the format that display hardware natively understands -- each pixel on an LCD or OLED screen has red, green, and blue subpixels that can be set to 256 brightness levels. RGB is also used in JavaScript's canvas API (ctx.fillStyle = 'rgb(255, 0, 0)') and in image processing libraries. RGBA adds an alpha channel (0-1 or 0-255) for transparency.
HSL (Hue, Saturation, Lightness) describes colors in a way that's more intuitive for humans. Hue is the color itself, measured as an angle on the color wheel (0掳=red, 120掳=green, 240掳=blue). Saturation is how vivid the color is (0%=gray, 100%=fully colored). Lightness is how dark or light (0%=black, 50%=normal, 100%=white). HSL makes it easy to create tints (increase lightness), shades (decrease lightness), and tones (decrease saturation) of a base color. HSV (Hue, Saturation, Value) is similar but uses Value instead of Lightness -- Value=100% means the color at full brightness, while Lightness=100% means white.
Use HEX for CSS and HTML -- it's the most widely supported format and the shortest to write. Use RGB when you need to programmatically manipulate color channels (e.g., mixing two colors by averaging their RGB values) or when you need alpha transparency (rgba()). Use HSL when you need to create color variations -- for example, generating a button's hover state by increasing lightness by 10%, or creating a monochromatic color scheme by keeping hue constant and varying saturation and lightness.
HSL is particularly powerful in CSS custom properties (CSS variables). You can define -- hue: 210 and then use hsl(var(-- hue), 70%, 50%) throughout your stylesheet. Changing a single variable updates the entire color scheme -- impossible with HEX or RGB without recalculating every value. This is why modern CSS frameworks like Tailwind v4 are moving toward HSL-based color systems.
Construye una paleta de colores eligiendo un tono base y ajustando la luminosidad — mucho más fácil en HSL que en RGB.
Figma suele mostrar HEX; CSS a veces necesita RGB o HSL (para `color-mix` u opacidad). Obtén la cadena exacta en un clic.
Combina esta herramienta con el Comprobador de Contraste para verificar que tus elecciones de color cumplen los requisitos WCAG.
Cambia rápidamente un preset de Tailwind por un color de marca personalizado y copia el HEX resultante en tu configuración.
Una comparación lado a lado de herramientas populares de conversión de color.
| Característica | NovaTools | RapidTables | W3Schools |
|---|---|---|---|
| HEX 鈫?RGB 鈫?HSL 鈫?HSV | Todos los formatos | SÍ | Limitado |
| Vista previa en tiempo real | Instantáneo | Botón enviar | |
| Color picker integration | EyeDropper API | ||
| Privacidad (sin subida) | 100% local | Server-side | |
| Copy CSS-ready values | SÍ | SÍ | |
| Funciona sin conexión | SÍ |
La mayoría de conversores de color en línea procesan las conversiones en su servidor. Nuestra herramienta realiza todos los cálculos en tu navegador — tus valores de color nunca se transmiten ni almacenan.
Esta herramienta se ejecuta completamente en su navegador. Sus archivos no se suben, almacenan ni analizan.
Incluso si su conexión a internet se cae, sus archivos permanecen seguros.
Aprende a convertir colores entre HEX, RGB y HSL, cuándo usar cada formato, la diferencia entre RGB y HSL y tips de CSS como color-mix() para mezclar colores.
Aprende los fundamentos de la accesibilidad web y el contraste de color. Comprende las calificaciones de WCAG (AA vs. AAA) y utiliza nuestras comprobaciones rápidas y soluciones prácticas para hacer que tu IU sea legible para todos.
Tu logo es una mina de oro de información de color. Aprende a extraer los colores clave de tu logo y expandirlos en una paleta de marca completa y versátil para tu sitio web, redes sociales y materiales de marketing.