Decimal para Hexadecimal
Converta números decimais para hexadecimal (0x) com formatação de bytes, decodificação ASCII e pré-visualização de cores RGB.
Passo a Passo Detalhado — Base-16 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) |
Ferramentas de Conversão Relacionadas
Convert raw binary bitstreams into Decimal, Hexadecimal nibbles, and Octal UNIX permissions with step-by-step proofs.
Calculadora de Frações
Add, subtract, multiply, divide & simplify fractions
Fração para Decimal
Convert fractions & mixed numbers to exact decimals & repeating cycles
Decimal para Fração
Mixed & improper fractions with GCD steps
Hexadecimal para Decimal
Convert Base-16 (0x) to Base-10 decimals with power expansion
Binário para Decimal
Convert base-2 bits to base-10 decimal & fractions
Binário para Hexadecimal
Convert 4-bit nibbles to Base-16 hexadecimal (0x)
Binário para Octal
Convert 3-bit triplets to Base-8 octal & UNIX permissions
ASCII para Binário
Convert ASCII text and Unicode characters to 8-bit binary bits
ASCII para Decimal
Convert ASCII text and Unicode characters to decimal byte sequences
Decimal para ASCII
Convert decimal codes & byte arrays to ASCII text
Decimal para Binário
Base-2 bits & IEEE-754 32-bit float inspection
Decimal para Porcentagem
Percentage, basis points (bps) & gauge
Decimal para Polegadas
1/16″ to 1/64″ fractional inches & metric ruler
Decimal para Minutos
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).