OpenReplay Logo
12k
12k

RGBA to HEX converter

Convert RGBA values to hexadecimal with alpha support. 8-digit hex, computed in your browser.

RGBA input Processed locally
HEX result Recents none yet
#394dfe80 8-digit hex · 50% alpha

About this tool

RGBA extends RGB with an alpha channel for transparency (0–1). Modern CSS accepts 8-digit hex, where the last two digits encode that alpha value.

Use it to flatten design-tool transparency into a single copy-pasteable token.

An alpha of 0.5 becomes 80 in hex — 50% of 255, rounded.

Frequently asked questions

Do browsers support 8-digit hex?

Yes — every modern browser supports #rrggbbaa. Only legacy browsers like IE11 do not.

How is alpha converted?

The 0–1 alpha is multiplied by 255 and rounded, then written as two hex digits: 0.5 → 80, 0.2 → 33.

Can I convert back?

Yes — use the HEX to RGB converter, which also reads 8-digit values.