Skip to content
Free Tool Arena

Developer Utilities · Free tool

Hex to RGB Converter

Convert between hex, RGB, and HSL. Supports 3/4/6/8-character hex (alpha included). Click to copy CSS-ready strings.

Updated May 2026

R

15

G

118

B

110

Found this useful?Email

Advertisement

What it does

Convert between hex, RGB, and HSL color formats. Accepts 3, 4, 6, or 8-character hex (with or without #). The 4 and 8 forms include alpha. Outputs CSS-ready strings for each format. Click any swatch to copy.

Embed this tool on your siteShow snippet

Paste this snippet into any page. Loads on-demand (lazy), no tracking scripts, and sized to most dashboards. Replace the height to fit your layout.

<iframe src="https://freetoolarena.com/embed/hex-to-rgb-converter" width="100%" height="720" frameborder="0" loading="lazy" title="Hex to RGB Converter" style="border:1px solid #e2e8f0;border-radius:12px;max-width:720px;"></iframe>
Embed docs →

How to use it

  1. Use the color picker or type a hex value.
  2. Each format updates live.
  3. Click a format card to copy that string.

Frequently asked questions

What's the difference between hex 6 and hex 8?
6-char hex (#RRGGBB) is solid. 8-char hex (#RRGGBBAA) adds alpha — last two characters are the opacity (00 transparent, FF opaque). Modern browsers support 8-char hex everywhere CSS colors are accepted.

Advertisement

Learn more

Explore more developer utilities tools

100% in-browserNo downloadsNo sign-upMalware-freeHow we keep this safe →