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