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
JSON to YAML
Convert JSON into clean, readable YAML instantly.
YAML to JSON
Convert YAML configuration into valid JSON.
JSON to CSV
Flatten a JSON array of objects into CSV rows.
CSV to JSON
Parse CSV with headers into a JSON array of objects.
JSON to XML
Convert JSON structures into nested XML markup.
JSON Minifier
Strip whitespace to produce compact JSON.
JSON to TypeScript
Generate TypeScript interfaces from a JSON sample.
JSON to SQL
Turn a JSON array of objects into SQL INSERT statements.