RGBA to HEX Converter
Enter an rgba(…) value with alpha and get the hex code, including 8-digit hex with the alpha channel — plus RGB, HSL and the nearest real paint.
Example: rgba(52, 152, 219, 1) in HEX is #3498DB.
Accepts HEX, RGB, RGBA, HSL, HSV, CMYK or a color name.
Closest match per brand by ΔE. Tap to open the full color page with where-to-buy. Want a whole scheme? Open the combination generator.
Type your rgba(…) value, including the alpha (0–1).
Read the hex — 6 digits for the color, or 8 digits when alpha is included.
Copy the hex, or use the RGB, HSL and paint match below.
| Color | RGBA | HEX |
|---|---|---|
| Red | rgba(255, 0, 0, 1) | #FF0000 |
| Orange | rgba(255, 165, 0, 1) | #FFA500 |
| Yellow | rgba(255, 255, 0, 1) | #FFFF00 |
| Green | rgba(0, 128, 0, 1) | #008000 |
| Blue | rgba(0, 0, 255, 1) | #0000FF |
| Navy | rgba(0, 0, 128, 1) | #000080 |
| Sky Blue | rgba(135, 206, 235, 1) | #87CEEB |
| Teal | rgba(0, 128, 128, 1) | #008080 |
| Purple | rgba(128, 0, 128, 1) | #800080 |
| Pink | rgba(255, 192, 203, 1) | #FFC0CB |
| Brown | rgba(165, 42, 42, 1) | #A52A2A |
| Beige | rgba(245, 245, 220, 1) | #F5F5DC |
| White | rgba(255, 255, 255, 1) | #FFFFFF |
| Grey | rgba(128, 128, 128, 1) | #808080 |
| Black | rgba(0, 0, 0, 1) | #000000 |
| Gold | rgba(255, 215, 0, 1) | #FFD700 |
Our color tools run on our own catalogue of 26,000+ real paint colors across 16 brands — Benjamin Moore, Sherwin-Williams, Behr, Dulux, RAL and more — with the color math (HSL and CIELAB matching) computed in-house, not scraped from summaries. Every color you pick maps to a real, buyable paint with its code, so what you see here you can actually take to the store. We review and update these tools and their data regularly.
Created by Denis Kataev, founder of DSGN.HOUSE — a software engineer and digital entrepreneur building professional color-design tools for everyone.
How do I convert RGBA to hex?+
Convert R, G, B to a 6-digit hex, then append the alpha (0–1 scaled to 00–FF) for 8-digit hex. Enter your rgba above to get both.
Does this converter find a matching paint color?+
Yes — under the result it shows the nearest real paint across 16 brands (Benjamin Moore, Sherwin-Williams, Behr, Dulux and more) with its code and where to buy, so you can take any color straight to a can.
What is 8-digit hex?+
It's a hex code with a fourth pair for alpha (opacity) — #RRGGBBAA. Supported in modern CSS. The converter outputs it whenever you include an alpha value.
Does the converter work both ways?+
Yes — every pair is two-way. Convert in either direction, and the reverse converter is linked under 'Other converters'.