ToolerCat / Color Converter / HEX to RGB Converter

HEX to RGB Converter

Instant, exact, in your browser — with every other format and a palette.

Try:

Check contrast → · CSS color names →

How it works

Each pair of hex digits is one channel in base 16: #3478F6 → 34 = 52, 78 = 120, F6 = 246 → rgb(52 120 246). An 8-digit hex adds alpha (00–FF → 0–1).

Check readability

Test the color as text on a background with the color contrast checker.

Other conversions

RGB to HEX · HEX to HSL · HSL to HEX · RGB to CMYK · CMYK to RGB · HEX to OKLCH · OKLCH to HEX · CSS color names