Skip to content
ZeroServer.tools

Hex to RGBA Converter

Convert a hex color to rgba() with an adjustable alpha channel.

rgba()rgba(59, 130, 246, 1.00)
rgb()rgb(59, 130, 246)
r59
g130
b246
alpha1.00

How hex to RGBA conversion works

A hex color like #3b82f6 encodes red, green, and blue channels as two hex digits each (00–FF = 0–255). Converting to rgba() simply reads those byte values and appends a fourth alpha channel for opacity (0 = fully transparent, 1 = fully opaque).

To convert in the other direction, use the RGB to Hex Converter. For full multi-format color conversion, try the Color Converter.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Converters tools