HEX to RGB Converter
Paste a HEX color and get its RGB and RGBA values instantly, with a live swatch so you can see exactly what you're working with.
About this tool
HEX and RGB describe the same color in different notations — HEX is compact for CSS, RGB is handy when you need an alpha channel or to tweak individual channels. Designers and developers switch between them constantly; this makes it a paste-and-copy job.
How to use it
- 1Type or paste a HEX code (e.g. #F5A623). The # is optional.
- 2Read off the RGB and RGBA values, with a live preview.
- 3Copy the format you need into your stylesheet.
FAQs
How do you convert HEX to RGB?
Split the six-digit HEX into three pairs and convert each from base-16 to base-10. #F5A623 → R=245, G=166, B=35.
What is RGBA?
RGBA is RGB plus an alpha (opacity) channel from 0 (transparent) to 1 (opaque) — useful for overlays and shadows.
Need a custom tool for your team?
We build internal tools and utilities tailored to how you work. Drop your email for a free scoping call.