CSS Tool
Convert between HEX, RGB, and HSL instantly, with a live color preview.
Type a value into any field — a HEX code, an rgb() value, or an hsl()
value — and the other two update instantly, along with a live preview swatch so you can see the
actual color, not just its numbers.
#2563EB) — the most compact, most common format in design files and CSS. Easy to copy-paste, less easy to reason about what the color actually looks like from the code alone.rgb(37, 99, 235)) — useful when you need to blend with an alpha channel (rgba()) or when working with color values from a design tool that reports in RGB.hsl(221, 83%, 53%)) — the most intuitive for adjusting a color by hand: hue controls which color, saturation controls intensity, and lightness controls how light or dark it is. Want a darker version of a brand color? Just lower the lightness value and keep hue and saturation the same.#fff becomes equivalent to #ffffff) before conversion.rgba() or hsla()).