HEX to RGBA Converter

Convert any HEX color code to RGBA with adjustable transparency. Get RGBA, 8-digit HEX and HSLA outputs instantly.

Enter a 3- or 6-digit HEX code with or without the # prefix.

All Format Outputs

What Is HEX to RGBA Conversion?

HEX to RGBA conversion adds an alpha (transparency) channel to a HEX color. Standard 6-digit HEX codes have no alpha; RGBA adds a fourth value from 0 (fully transparent) to 1 (fully opaque). This is essential for overlays, glass effects and layered design elements.

HEX vs RGBA vs 8-digit HEX

  • HEX (6-digit): #155EEF — opaque, no transparency
  • RGBA: rgba(21, 94, 239, 0.5) — with alpha as decimal
  • HEX8 (8-digit): #155EEF80 — alpha as hex byte

All three describe the same color; only the notation differs.

How to Use This Converter

  1. Enter a HEX color code
  2. Adjust the Alpha slider from 0% to 100%
  3. Copy the output format you need

Frequently Asked Questions