HEX to RGB Converter — Instant, Precise

Convert HEX color codes (like #4682B4) to their RGB equivalents (like rgb(70, 130, 180)) instantly. Enter your Hex code below and get accurate RGB values in real time for your design or development project.

Alternatively → Convert RGB to Hex
Hexadecimal Color
HEX
RGB
More Colors
HSL
HWB
LCH
OKLCH
LAB
OKLAB

HEX to RGB Color Converter

Use this free, fast converter to transform any HEX color code into its RGB format. Perfect for developers, designers, and anyone working with color in web or print projects.

What is HEX?

HEX (hexadecimal) color codes are written as 6-character combinations of numbers and letters, prefixed with a hash (#). Each two-digit pair represents the intensity of red, green, and blue. Example: #4682B4.

What is RGB?

RGB stands for Red, Green, and Blue — three base colors mixed together to form others. Each value ranges from 0 to 255. For example, rgb(70, 130, 180).

How HEX and RGB Relate

Each HEX pair (like "46") translates to a decimal value (like 70). So a HEX like #4682B4 breaks down as:

  • Red: 0x46 = 70
  • Green: 0x82 = 130
  • Blue: 0xB4 = 180

This becomes rgb(70, 130, 180).

Common HEX to RGB Color Values

Color NameHEXRGB
Black
#000000
rgb(0, 0, 0)
White
#FFFFFF
rgb(255, 255, 255)
Red
#FF0000
rgb(255, 0, 0)
Green
#00FF00
rgb(0, 255, 0)
Blue
#0000FF
rgb(0, 0, 255)
Yellow
#FFFF00
rgb(255, 255, 0)
Cyan
#00FFFF
rgb(0, 255, 255)
Magenta
#FF00FF
rgb(255, 0, 255)
Gray
#808080
rgb(128, 128, 128)
Orange
#FFA500
rgb(255, 165, 0)
Pink
#FFC0CB
rgb(255, 192, 203)

Why Convert HEX to RGB?

  • Some tools and APIs require RGB instead of HEX.
  • RGB is easier to manipulate dynamically via JavaScript.
  • Helps when calculating lightness or contrast programmatically.

Looking for More Tools?

Explore our other useful tools like RGB to HEX Converter, Color Gradient Generator, and to boost your design workflow.

Frequently Asked Questions (FAQs)

Why Use ToolMateX

Tired of bloated tool websites with 10 ads per click? This platform is built for speed, simplicity, and reliability. Whether you're debugging JSON or testing colors, we’ve got your back.

Free to Use, Forever
Free to Use, Forever

All tools run right in your browser, fast, reliable, and available whenever you need them. No ads, and nothing to install.

Explore Tools
Works Offline (Most of Them)
Works Offline (Most of Them)

Most of my tools work directly in your browser without needing a server. Perfect for fast workflows (even if you’re offline).

Try it in airplane mode
Made by a 1-Person Team
Made by a 1-Person Team

Made by someone who actually uses these tools daily. It’s fast, clean, and made with your workflow in mind, not corporate KPIs.

Read the story