File ConversionColor ConversionFree Tool

HEX to RGBA

Convert a HEX color code plus an alpha (opacity) value into a CSS rgba() string.

How to Use HEX to RGBA
  1. 1Enter a hex color and alpha value separated by a comma (e.g. #4F46E5, 0.5)
  2. 2Click Convert
  3. 3Copy the rgba() result
Frequently Asked Questions

The hex color and an alpha value separated by a comma, e.g. "#4F46E5, 0.5" — the alpha value ranges from 0 (fully transparent) to 1 (fully opaque). If you omit the alpha, it defaults to 1.

A ready-to-paste CSS rgba() value — useful for adding transparency to a color you already have as a hex code, since hex alone has no opacity component.

No — the conversion happens entirely in your browser.

Related Tools

Related Articles

More from File Conversion