Output Color
Loading… Please Wait
About Hex to RGB Converter
Input an Hex value like #00ffff
and Diversify India’s Hex to RGB converter will convert this value to an RGB color like rgb(0, 255, 255)
.
The Hex value can be a 3, 4, 6, or 8-digit hexadecimal color code. The output RGB color parameters are red, green, and blue.
Why Convert Hex to RGB?
Converting HEX to RGB is essential because RGB is a fundamental color model used in digital displays and image processing. While HEX is a compact and human-readable format often used in web design, RGB is more intuitive for understanding and manipulating color intensities. Converting HEX to RGB allows for compatibility with various digital applications and tools.
How to Convert Hex to RGB
To convert HEX to RGB, extract the red, green, and blue values from the HEX code.
- Split the HEX value into its Red (R), Green (G), and Blue (B) components.
- Example: The HEX code
#56C219
splits into: R = 56, G = C2, B = 19.
- Example: The HEX code
- Convert the HEX values to their decimal equivalents.
- Red: 0x56 (HEX) = 86 (Decimal)
- Green: 0xC2 (HEX) = 194 (Decimal)
- Blue: 0x19 (HEX) = 25 (Decimal)
- Combine the RGB values:
- Example:
rgb(86, 194, 25)
- Example:
List of Color Tools
- Color Converter: Convert to RGBA, Hex, HSLA, HWB, HSV, or CMYK
- Color Picker: Pick RGBA, Hex, HSLA, HWB, HSV, or CMYK Colors
- Color Mixer: Mix Colors Online for Free
- Random Color Generator
- Color Shades Generator
- Color Contrast Checker
- RGB to Hex Converter
- Hex to RGBA Converter
- Hex to HSLA Converter
- Hex to HSL Converter
- Hex to HWB Converter
- Hex to HSV Converter
- Hex to CMYK Converter