Enter a decimal number to see its hexadecimal and binary representations instantly.
How to use the decimal to hex converter
- Type the decimal number.
- Copy the hex value.
Example
419 ÷ 16 = 26 r3; 26 ÷ 16 = 1 r10 (A); 1 ÷ 16 = 0 r1. Read the remainders upwards: 1A3.
Frequently asked questions
How do I convert RGB values to hex?
Convert each 0–255 value to two hex digits, or use the HEX to RGB Color Converter.
Updated October 2026 · Built and tested by Sharjeel Tahir · How our tools are tested