Hex to RGB Color Converter
Convert hex color codes to RGB values and back again instantly.
Preview
#2F5D8A
The formats
Hex is a 6-digit base-16 code (like 2F5D8A). RGB is three numbers from 0 to 255 representing Red, Green, and Blue.
Related tools
Frequently asked questions
Do I need to include the # symbol?
No, the calculator accepts hex codes with or without the # symbol.