Convert HEX to RGBA with opacity, and RGBA back to HEX. Runs entirely in your browser — nothing is uploaded.
6 answers to what people ask most about the HEX to RGBA Converter.
Split the six digits into three pairs and read each as a number from 0 to 255, then add an alpha from 0 to 1. #2563EB at 50% is rgba(37, 99, 235, 0.5).
The last two digits are the alpha channel in hex, from 00 (transparent) to FF (opaque). #2563EB80 is about 50% opacity.
Multiply the opacity by 255 and write the result in hex: 50% is 128, which is 80. The tool shows this calculation under the sliders.
It is the opaque color you actually see when the translucent color sits on that background, worked out with normal alpha blending.
No. rgb(37 99 235 / 50%) is the newer syntax for the same color, and rgba() still works everywhere.
Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.
Something not working? Tell us and we'll fix it.
Report an issue