Hexadecimal Converter
Convert hexadecimal to decimal and binary, split into bytes, read hex colours as RGB, or convert decimal to hex.
Your inputs
Results
Decimal
16734003
- Binary
- 111111110101011100110011
- Bytes
- FF 57 33
- As an RGB colour
- rgb(255, 87, 51)
✓Exact calculation — rounded only for display
What this calculator does
Hex is compact base 16, used for memory addresses, byte values and web colours.
Formula and method
Value = Σ digit × 16^k; colour #RRGGBB → (RR, GG, BB) in decimal; #RGB doubles each digit
Worked example
Calculated by this tool with its default inputs:
Inputs
- Convert: Hex → decimal / binary / RGB
- Value: #FF5733
Results
- Decimal: 16734003
- Binary: 111111110101011100110011
- Bytes: FF 57 33
- As an RGB colour: rgb(255, 87, 51)
How to read the results
Two hex digits make one byte.
Assumptions and limitations
- A # or 0x prefix is accepted.
Questions
What is #FF5733?
rgb(255, 87, 51), a red-orange.
Methodology and verification
- Result type
- Exact mathematical calculation (rounded only for display)
- Formula version
- 1.0
- Automated verification
- 4 reference and validation test cases, checked against independently computed values. The site cannot be built if any of them fail.
- Editorial review
- Awaiting human editorial review. The explanation was drafted with AI assistance; the formula and examples are verified by the automated tests above.
Privacy
Everything you enter is calculated in this browser and is not sent to Numerith or anyone else. Inputs are added to a share link only if you choose to include them. Privacy policy