HEX to RGB Converter

Paste a hex color code and get its RGB value instantly — along with HSL, HSV, CMYK and the nearest real, buyable paint. Convert a color to hex or hex back to RGB, both directions.

Example: #FF5733 in RGB is rgb(255, 87, 51).

Accepts HEX, RGB, RGBA, HSL, HSV, CMYK or a color name.

Nearest real paint

Closest match per brand by ΔE. Tap to open the full color page with where-to-buy. Want a whole scheme? Open the combination generator.

Paste your hex code (with or without the #) into the box.

Read the RGB value — each pair of hex digits becomes one 0–255 channel: R, G then B.

Copy the rgb(…) string, or grab HSL, CMYK and the matching paint below it.

ColorHEXRGB
Red #FF0000 rgb(255, 0, 0)
Orange #FFA500 rgb(255, 165, 0)
Yellow #FFFF00 rgb(255, 255, 0)
Green #008000 rgb(0, 128, 0)
Blue #0000FF rgb(0, 0, 255)
Navy #000080 rgb(0, 0, 128)
Sky Blue #87CEEB rgb(135, 206, 235)
Teal #008080 rgb(0, 128, 128)
Purple #800080 rgb(128, 0, 128)
Pink #FFC0CB rgb(255, 192, 203)
Brown #A52A2A rgb(165, 42, 42)
Beige #F5F5DC rgb(245, 245, 220)
White #FFFFFF rgb(255, 255, 255)
Grey #808080 rgb(128, 128, 128)
Black #000000 rgb(0, 0, 0)
Gold #FFD700 rgb(255, 215, 0)
Built by DSGN.HOUSE Updated 2026

Our color tools run on our own catalogue of 26,000+ real paint colors across 16 brands — Benjamin Moore, Sherwin-Williams, Behr, Dulux, RAL and more — with the color math (HSL and CIELAB matching) computed in-house, not scraped from summaries. Every color you pick maps to a real, buyable paint with its code, so what you see here you can actually take to the store. We review and update these tools and their data regularly.

Created by Denis Kataev, founder of DSGN.HOUSE — a software engineer and digital entrepreneur building professional color-design tools for everyone.

How do I convert HEX to RGB?+

Split the 6-digit hex into three pairs and read each as a base-16 number 0–255. For example #FF5733 is R=255, G=87, B=51, i.e. rgb(255, 87, 51). This tool does it instantly and also gives you HSL, CMYK and the nearest paint.

Can I convert RGB back to hex?+

Yes — the converter is two-way. Type an rgb(…) value or R,G,B numbers and it returns the hex code, or open the RGB to HEX page.

What is the RGB of a hex color?+

RGB is the red, green and blue channels (each 0–255) that a hex code encodes. Paste any hex above to read its exact RGB triple.

Does this converter find a matching paint color?+

Yes — under the result it shows the nearest real paint across 16 brands (Benjamin Moore, Sherwin-Williams, Behr, Dulux and more) with its code and where to buy, so you can take any color straight to a can.