Decimal to hex.
Type it the way you'd say it.
255 is 0xFF. Type the number and add in hex.
How do you convert decimal to hex?
Divide by 16 again and again, and read the remainders from last to first. 255 ÷ 16 is 15 remainder 15, and 15 is F in hex, so 255 is 0xFF.
- 1
The number, in hex.
255 in hex. - 2
15 sixteens and 15 ones.
0xFF in hex.
Worked examples.
Copy any line.
Each line works in the calculator above and in the app.
Decimal in 255 in hex 0xFF
Decimal in 4096 in hex 0x1000
Hex in, decimal out 0xFF 255
Keep this sum.
Sumist saves it on your iPhone.
Write percentages, tips and prices the way you'd say them. The sheet is still there tomorrow.
Questions.
Short answers.
Something else? Write to hello@sumist.app.
What is 255 in hex?
0xFF.
What is 4096 in hex?
0x1000, because 4096 is 16 × 16 × 16.
Why is hex used for colors?
Each color channel runs from 0 to 255, which is exactly two hex digits.
How do I go back?
Type the hex number with 0x: 0xFF is 255.