Hex #000000 to RGBA at 50% Opacity
#000000 with 0.5 alpha converts to rgba(0, 0, 0, 0.5), a semi-transparent black commonly used for overlays.
How to use this tool
- Enter your hex color code (e.g. #3a86ff or #f0f).
- Set the alpha value between 0 (invisible) and 1 (opaque).
- Copy the rgba() result into your CSS.
A semi-transparent black overlay — rgba(0, 0, 0, 0.5) — is one of the most common effects in web UI design.
Frequently asked questions
- What is RGBA?
- RGBA is like RGB but with a fourth channel — alpha — that controls opacity. 0 is fully transparent, 1 is fully opaque.
- Can I use 3-digit hex codes?
- Yes. #abc is automatically expanded to #aabbcc before conversion.