RGBA to HEX Converter

Convert RGBA values to 6-digit HEX, 8-digit HEX, HSL, and RGBA strings instantly. Paste any color string to parse it automatically.

Alpha Transparency HSL Output Paste Parser

Paste a Color String

Color Controls

● LIVE
255
0 255
99
0 255
71
0 255

1.00
0 = transparent 1 = opaque

Conversion Results

HSL Breakdown

Hue · Saturation · Lightness
Hue
100%
Saturation
64%
Lightness

How Conversion Works

1. Set RGBA Values

Use sliders, type numbers, or paste an RGBA / HEX string directly.

2. Instant Conversion

R, G, B → 2 hex digits each (00–FF). Alpha × 255 gives the 8th byte.

3. Copy & Use

Click any Copy button to grab the format you need for CSS or Figma.

Frequently Asked Questions

We're here to assist you! If you have more questions or need further assistance, please don't hesitate to reach out.

How to's

RGBA stands for Red, Green, Blue, Alpha. RGB values range 0–255 for color intensity; Alpha ranges 0–1 for transparency. For example, rgba(255, 0, 0, 0.5) is red at 50% opacity. It is the most widely supported transparent color format in CSS.

Each channel (R, G, B) converts to a 2-character hex value (00–FF). The Alpha channel (0–1) is multiplied by 255 and also converted to hex, then appended for 8-digit HEX. A 6-digit HEX omits alpha entirely; an 8-digit HEX includes it as the final two characters.

Alpha controls transparency. A value of 1 = fully opaque, 0.5 = 50% transparent, 0 = fully invisible. The checkerboard pattern in the live preview shows exactly how much background shows through at any alpha value.

HSL stands for Hue, Saturation, Lightness. Hue is the color wheel angle (0–360°), Saturation is color intensity (0–100%), Lightness goes from black to white (0–100%). Use HSL when you want to adjust brightness or vibrancy without changing the base hue — great for generating tints and shades.