Color Converter
Enter a HEX value like #3d9cf0 and get the matching RGB triplet instantly. Handy when a design file gives you HEX but your stylesheet or API expects red, green, and blue numbers.
Updated 2026-08-03 · design
RGB: 61, 156, 240
HEX: #3d9cf0
About this tool
HEX and RGB describe the same sRGB color with different notation. HEX packs three 0–255 channels into six hexadecimal digits; RGB lists those channels in decimal. This converter accepts full six-digit HEX with an optional # so you always know the exact channels you are copying.
How to use
- Open Color Converter: Open this page in a modern browser.
- Enter HEX: Type or paste a color such as #3d9cf0 into the HEX field.
- Read RGB: When the value is valid, the result shows RGB channels and the normalized HEX.
- Copy into your project: Paste the RGB or HEX into CSS, a design token file, or notes.
Common use cases
- Translate a brand HEX from a style guide into RGB for CSS rgb().
- Cross-check a color picked in a design app against production CSS.
- Document palette values in both HEX and RGB for handoff notes.
Tips
- Use six hex digits (0-9, a-f). Shorthand like #3df is not expanded here.
- Output HEX is normalized to lowercase for consistent paste targets.
FAQ
Do I need the
Either works. The converter strips
Why do I still see the enter-hex message?
The input is not exactly six hexadecimal characters yet.
Does this convert RGB back to HEX?
This page focuses on HEX → RGB. Enter HEX to see the RGB breakdown.
Are alpha channels supported?
No. Only opaque six-digit HEX colors are converted.