Online Toolbox

IMAGEColor Convert

HEX ⇄ RGB

📦100% browser-local· processing in browser, no upload
#B8341A · rgb(184, 52, 26)
HEX: #b8341a
RGB: rgb(184, 52, 26)
RGBA: rgba(184, 52, 26, 1.00)
HSL: hsl(10, 75%, 41%)
HSLA: hsla(10, 75%, 41%, 1.00)

Edit any field (HEX / RGB / HSL / Alpha) and the others update automatically. HEX supports 3/4/6/8 digit shorthand and full forms.

Color Convert: HEX / RGB

Typical scenarios: ① the designer gives a HEX value but your code needs RGB; ② match a color against a design mockup; ③ use a color with transparency in a web page.

How to use: enter a HEX value (with or without `#`) or an RGB value. The tool converts in real time and shows a color swatch for instant confirmation.

Notes: ① an 8-digit HEX can carry transparency (e.g. `#5B5FCF80` ≈ 50% alpha); ② keep text/background contrast ≥ 4.5:1 for readability and accessibility; ③ the same value may look slightly different across displays — verify on the real device for final designs.

Related Tools

🕘 Timestamp Base64🔢 Char Counter{ } JSON Tools🔐 Password Gen🔗 URL Encode

Home