tools.decimalToHex
10進数(整数・小数)を16進数(0x)へ変換。バイト区切り、ASCII文字デコード、RGBカラープレビューおよび除算手順を表示します。
calc.steps — 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) |
home.relatedTools
Convert raw binary bitstreams into Decimal, Hexadecimal nibbles, and Octal UNIX permissions with step-by-step proofs.
tools.fractionCalc
Add, subtract, multiply, divide & simplify fractions
tools.fractionToDecimal
Convert fractions & mixed numbers to exact decimals & repeating cycles
tools.decimalToFraction
Mixed & improper fractions with GCD steps
tools.hexToDecimal
Convert Base-16 (0x) to Base-10 decimals with power expansion
tools.binaryToDecimal
Convert base-2 bits to base-10 decimal & fractions
tools.binaryToHex
Convert 4-bit nibbles to Base-16 hexadecimal (0x)
tools.binaryToOctal
Convert 3-bit triplets to Base-8 octal & UNIX permissions
tools.decimalToBinary
Base-2 bits & IEEE-754 32-bit float inspection
tools.decimalToPercent
Percentage, basis points (bps) & gauge
tools.decimalToInches
1/16″ to 1/64″ fractional inches & metric ruler
tools.decimalToMinutes
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).