⭐ 0

HEX to RGB Converter

Convert any color between HEX, RGB, HSL and CMYK notation with a live preview swatch — right in your browser.

Processed entirely in your browser — nothing you enter here is ever uploaded.

Processing... 0%

Result

About this tool

This page opens the color converter with HEX preselected as the input format — paste a code like #3b82f6 (or the short #fff form) and run it to see the same color in every other notation.

RGB expresses a color as red, green and blue channels from 0 to 255 — the form JavaScript canvas APIs, image editors and rgb()/rgba() CSS functions expect, and the natural starting point when you need transparency via rgba.

The full tool converts in any direction between HEX, RGB, HSL and CMYK, includes a native color picker and shows a live preview swatch — everything runs locally in your browser and no color value is sent anywhere.

Example. #ff0000 converts to rgb(255, 0, 0), hsl(0, 100%, 50%) and cmyk(0%, 100%, 100%, 0%).

Limit. The notations are HEX, RGB, HSL and CMYK; Lab and LCH are not in this converter.