HEX to RGB Converter
Convert hexadecimal color codes to RGB color values in multiple formats.
Results:
rgb(0, 0, 0)
rgb(0 0 0)
[0, 0, 0]
{ r: 0, g: 0, b: 0 }
0, 0, 0
0
0
0
About HEX to RGB Conversion
HEX color codes are a way to represent RGB colors using hexadecimal (base-16) notation:
- HEX uses six hexadecimal digits (0-9 and A-F), with each pair representing a color channel.
- RGB can be represented in multiple formats:
- Functional notation: rgb(255, 0, 0)
- Percentage: rgb(100% 0% 0%)
- Array: [255, 0, 0]
- Object: { r: 255, g: 0, b: 0 }