Color & Design
Live

HEX to RGB

Convert HEX color codes to RGB/RGBA values. Paste a color, copy the result — ready for CSS, design tools, and code.

Loading tool…

How to use HEX to RGB

  1. 1

    Enter a HEX code like #3b5fff.

  2. 2

    See the RGB and RGBA equivalents instantly.

  3. 3

    Copy the value directly into your CSS or design app.

Why use HEX to RGB?

  • Supports 3-digit and 6-digit HEX notation.
  • Copies CSS-ready rgba(r,g,b,a) strings.
  • Live preview swatch.

Common use cases

  • Build a design system palette.
  • Convert brand colors from a mockup to CSS.
  • Quickly pick alpha-blended variants.

About HEX to RGB

HEX to RGB is the most common color conversion in web design — every palette you design eventually needs RGB/RGBA values for things like transparency, gradients, and CSS filters. Xevon Tools' HEX to RGB converter handles 3, 6, and 8-digit HEX codes, shows a live preview swatch, and copies CSS-ready strings with one click.

Frequently asked questions

Yes. #RRGGBBAA input is accepted and the alpha is reflected in the RGBA output.
Yes — it's a pure mathematical mapping, so there's no loss of precision.
Share: