R
G
B

HEX

#6366F1

RGB

rgb(99, 102, 241)

HSL

hsl(239, 84%, 67%)

CMYK

cmyk(59%, 58%, 0%, 5%)

Color properties:Lightness: LightTemperature: Cool

Examples

Real-time conversion

Results update instantly as you type. Paste any HEX code and get RGB, HSL, and CMYK values immediately β€” no button press needed.

4 color formats

Get HEX, RGB, HSL, and CMYK values simultaneously. Each format has a one-click copy button ready for use in code or design tools.

Flexible input

Accepts 3-digit and 6-digit HEX codes, with or without the # symbol. Intelligent parsing handles all common formats automatically.

About HEX to RGB Converter

This free HEX to RGB converter is built for designers, developers, and anyone working with digital color. HEX codes are the web standard used in HTML and CSS, while RGB is essential for screen-based design. Our tool converts instantly between HEX, RGB, HSL, and CMYK β€” giving you full color control without any setup, directly in your browser.

FAQ

Frequently Asked Questions

What is a HEX color code?
A HEX color code is a six-character hexadecimal string used to represent colors in HTML and CSS. For example, #FF5733 represents an orange-red. Each pair of characters (FF, 57, 33) encodes a Red, Green, or Blue channel value from 00 (0) to FF (255).
How is HEX converted to RGB?
To convert #FF5733 to RGB: split the code into three pairs (FF, 57, 33) and convert each from hexadecimal (base-16) to decimal (base-10). FF = 255, 57 = 87, 33 = 51. Result: rgb(255, 87, 51). Our converter does this instantly.
What is RGB?
RGB stands for Red, Green, Blue. It is an additive color model used in screens and digital displays. Each channel ranges from 0 to 255, producing over 16 million color combinations.
What is HSL?
HSL stands for Hue, Saturation, and Lightness. Hue is the color angle (0–360Β°), Saturation is the color intensity (0–100%), and Lightness controls brightness (0–100%). HSL is more intuitive than RGB for adjusting colors.
Does it support 3-digit HEX codes?
Yes. Our converter supports both 3-digit (#F5A) and 6-digit (#FF55AA) HEX codes. A 3-digit code is shorthand β€” each digit is doubled: #F5A equals #FF55AA.
Is this converter free to use?
Completely free, with no account required. The conversion runs entirely in your browser β€” your color data is never sent to any server.