Home/Color/HEX to RGBA Converter

HEX to RGBA Converter

rgba(18, 182, 115, 1)

Add an alpha channel to any hex color and get a ready-to-use CSS rgba() string. Plain hex codes describe a solid color with no transparency, but real interfaces constantly need semi-transparent overlays, shadows, tints and hover states. This tool takes your hex value plus an opacity slider and outputs the matching rgba() notation, where the fourth value runs from 0 (fully transparent) to 1 (fully opaque). A checkerboard-backed preview shows exactly how much of the background shows through, so you can dial in the right level by eye. Drag the slider, watch the swatch, and copy the string straight into your stylesheet. All of it runs in your browser with no uploads.