Decimal to Hexadecimal Converter
Convert base-10 numbers to base-16 hex with byte formatting, ASCII character decoding, and live RGB color palette preview.
Base-16 Repeated Division Step-by-Step Proof
Hexadecimal & Decimal Cross Reference
Standard Hex values, Binary equivalents, and character mappings.
| Decimal | Hex (0x) | Binary Form | Notes | Action |
|---|---|---|---|---|
| 0 | 0x0 | 0000 0000 | Null | |
| 10 | 0xA | 0000 1010 | Ten | |
| 15 | 0xF | 0000 1111 | Fifteen | |
| 16 | 0x10 | 0001 0000 | 16¹ | |
| 32 | 0x20 | 0010 0000 | Space (ASCII 32) | |
| 65 | 0x41 | 0100 0001 | 'A' (ASCII 65) | |
| 255 | 0xFF | 1111 1111 | 8-bit Max (255) | |
| 4095 | 0xFFF | 1111 1111 1111 | 12-bit Max | |
| 65535 | 0xFFFF | 16-bit 1s | 16-bit Max | |
| 16777215 | 0xFFFFFF | 24-bit 1s | White (#FFFFFF) |
Related Conversion Tools
Convert raw binary bitstreams into Decimal, Hexadecimal nibbles, and Octal UNIX permissions with step-by-step proofs.
Fraction Calculator
Add, subtract, multiply, divide & simplify fractions
Fraction to Decimal
Convert fractions & mixed numbers to exact decimals & repeating cycles
Decimal to Fraction
Mixed & improper fractions with GCD steps
Hexadecimal to Decimal
Convert Base-16 (0x) to Base-10 decimals with power expansion
Binary to Decimal
Convert base-2 bits to base-10 decimal & fractions
Binary to Hexadecimal
Convert 4-bit nibbles to Base-16 hexadecimal (0x)
Binary to Octal
Convert 3-bit triplets to Base-8 octal & UNIX permissions
ASCII to Binary
Convert ASCII text and Unicode characters to 8-bit binary bits
ASCII to Decimal
Convert ASCII text and Unicode characters to decimal byte sequences
Decimal to ASCII
Convert decimal codes & byte arrays to ASCII text
Decimal to Binary
Base-2 bits & IEEE-754 32-bit float inspection
Decimal to Percent
Percentage, basis points (bps) & gauge
Decimal to Inches
1/16″ to 1/64″ fractional inches & metric ruler
Decimal to Minutes
HH:MM:SS timecodes & payroll work logs
Frequently Asked Questions
Everything you need to know about decimal conversions, accuracy, and formulas.
01How do you convert decimal to hexadecimal?▼
To convert decimal to hex: repeatedly divide the decimal number by 16 and write down the remainders. For remainders 10 through 15, replace with hexadecimal letters A through F (10=A, 11=B, 12=C, 13=D, 14=E, 15=F). Read the remainders from bottom to top to get the hexadecimal notation.
02What is the prefix '0x' in hexadecimal?▼
The '0x' prefix is a programming convention used in languages like JavaScript, C, Python, and Rust to indicate that the following characters represent a base-16 hexadecimal number rather than a standard base-10 decimal.
03How do hexadecimal numbers represent web colors?▼
In web design, colors are encoded as 24-bit hexadecimal integers `#RRGGBB`. The first two hex digits represent Red (0-255), the next two represent Green, and the last two represent Blue. For example, decimal 16711680 is hex `0xFF0000` (Pure Red).