Free HEX to RGB Color Converter
This free HEX to RGB color converter also handles HSL and CMYK, updating every format instantly with a live preview and contrast check. No sign-up, and it runs entirely in your browser.
Pick a Color
Quick Presets
Color Values
RGB
HSL
CMYK
HEX
#3b82f6
RGB
rgb(59, 130, 246)
HSL
hsl(217, 91%, 60%)
CMYK
cmyk(76%, 47%, 0%, 4%)
About This Free HEX to RGB Color Converter
This free HEX to RGB color converter translates a single color across the four formats designers and developers use every day: HEX, RGB, HSL, and CMYK. Pick a color visually, click a preset, or type into any field, and every other format updates immediately to match.
Whether you are turning a hex code from a design file into an rgb() value for CSS, converting RGB to HEX for a style guide, or previewing a CMYK print color on screen, this tool keeps every representation in sync without leaving your browser tab.
Premium Color Tools, Free
Four Formats at Once
No more switching between a HEX to RGB converter, an RGB to HSL converter, and a separate CMYK calculator. Every format lives on one screen.
Built-In Accessibility Check
See the contrast ratio of your color against white and black with an AA pass or fail label, useful for WCAG text legibility.
Instant and Private
All math runs in your browser's own JavaScript engine, so results are instant and nothing is sent over a network.
Print and Screen Ready
CMYK support means this free color converter works for print workflows too, not just web and app colors.
Who Uses a Free Color Code Converter?
- Frontend developers converting hex color codes to RGB or HSL while writing CSS and design tokens.
- UI and web designers matching colors between a design tool and production code.
- Print and graphic designers checking how a CMYK color will approximate on screen.
- Brand and marketing teams documenting every format of a brand color for style guides.
Need a color from a photo first? Grab it with the free color picker from image. You can also convert sizes with the PX to REM converter or convert hex numbers with the binary, hex and decimal converter.
Privacy first. No color value you enter into this tool is ever uploaded, logged, or stored on a server. Every conversion happens directly on your device inside your browser tab.
How to Convert HEX to RGB for Free
- Choose a color. Use Pick a Color, click one of the Quick Presets, or type a value into the HEX, RGB, HSL, or CMYK fields.
- Watch every format update. Watch the other three formats and the live preview swatch update automatically as you type.
- Check contrast. Check the contrast ratio against white and black if you are choosing a background or text color.
- Copy a value. Click the copy icon beside any format to copy that exact value to your clipboard.
