Site is Under Maintenance
Please come back again in...
00 Days
00 Hours
00 Minutes
00 Seconds
We appreciate your reach out.Contact Us

HEX to RGB

HEX to RGB Color Converter
Enter HEX Color:

Note: This tool converts HEX color codes to RGB/RGBA format.

About HEX to RGB Converter

This tool converts HEX color codes to RGB (Red, Green, Blue) format. HEX codes are commonly used in web design, while RGB values are used in various programming and design applications.

How to Use This Converter

Step-by-Step Guide:
  1. Step 1: Enter the HEX color value (e.g. #ff0000 or #f00)
  2. Step 2: Click "Convert to RGB" to see results
  3. Step 3: View the color preview and RGB values
  4. Step 4: Copy or clear results as needed
Conversion Formula:

HEX to RGB conversion involves splitting the HEX code into its red, green, and blue components:

  • 6-digit HEX: #RRGGBB → rgb(RR, GG, BB)
  • 3-digit HEX: #RGB → rgb(RR, GG, BB) where RR = R*17, GG = G*17, BB = B*17

Each pair of HEX digits represents a decimal value from 0 to 255.

Example Conversions:
Input: #ff0000 → Output: rgb(255, 0, 0)
Input: #00ff00 → Output: rgb(0, 255, 0)
Input: #0000ff → Output: rgb(0, 0, 255)
Input: #f00 → Output: rgb(255, 0, 0)
Input: #0f0 → Output: rgb(0, 255, 0)
Input: #00f → Output: rgb(0, 0, 255)
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.