Hex/RGB Color Converter
Convert between HEX and RGB color formats
Calculator
How to Use
Convert between color formats
Enter color value
Input HEX, RGB, or HSL value
View conversions
See color in all formats
Preview color
See visual preview of the color
Copy values
Copy any format to clipboard
Frequently Asked Questions
Both represent colors using red, green, blue values. HEX uses hexadecimal (#FF5733). RGB uses decimal (255, 87, 51). HEX is compact for CSS/HTML. RGB is intuitive for understanding color composition. Both represent 16.7 million colors.
Split HEX into pairs and convert to decimal. #FF5733: FF=255 (red), 57=87 (green), 33=51 (blue) → RGB(255, 87, 51). Each pair ranges 00-FF (0-255 in decimal).
HSL uses Hue (0-360°), Saturation (0-100%), Lightness (0-100%). Its more intuitive for picking colors: hue is the color wheel position, saturation is vibrancy, lightness is brightness. Great for creating color palettes and variations.
Screens have different color profiles, brightness, and capabilities. sRGB is the standard color space for web. Professional monitors are calibrated for accuracy. Colors may also appear differently due to ambient lighting.
Converters
Unit converters for length, weight, temperature, and more