16進数からRGBA

Convert hex colors to RGBA with adjustable opacity and live preview.

16進色
不透明度 100%
RGBA Value
Preview

Hex to RGBA Converter

This tool converts hex color codes to RGBA format, adding an alpha (opacity) channel.

The conversion runs locally in your browser.

How to use

  1. Type or paste a hex color code into the input field.
  2. Set the opacity percentage (0-100%).
  3. The RGBA value and color preview update automatically.
  4. Use Copy to copy the RGBA value.

What is Hex to RGBA?

RGBA extends RGB with an alpha channel for transparency. rgba(255,87,51,0.5) means the color at 50% opacity.

Input notes

Enter a hex color code. Opacity defaults to 100% if not specified.

Example

Converting hex to RGBA:

--- Hex Input ---
#FF5733
Opacity: 50%

--- RGBA Output ---
rgba(255, 87, 51, 0.5)