RGB ↔ HEX
rgb(255, 100, 50) or #FF6432Convert between RGB and HEX color codes instantly. Perfect for web development and design.
rgb(255, 100, 50) or #FF6432HEX = #RRGGBB
Convert each RGB channel (0-255) to hex (00-FF)
RGB = (R, G, B)
Convert each hex pair (00-FF) to decimal (0-255)
RGB
RGB(255, 100, 50)
Convert Each Channel
Convert each RGB value to hexadecimal
Combine with #
RGB: RGB(255, 0, 0)
HEX
#FF0000
HEX: #0000FF
RGB
RGB(0, 0, 255)
Convert from RGB to HEX or HEX to RGB instantly. Both formats represent the same color values.
Both RGB and HEX are standard color formats in CSS and web development. Widely supported across browsers.
See color preview instantly as you convert. Visual feedback helps verify correct color conversion.
Both formats work directly in CSS. Use rgb(255, 0, 0) or #FF0000 for the same red color.
Find answers to common questions about RGB and HEX color conversion.