Get 25% off for the next 48:23:55 hours


Index | Wikipedia | Time Travel App

Hexadecimal - Base16

16s
Hexadecimal - 0-F
Heaxdecimal is a number system that can have up to the number 16 shown in one column.
Each digit goes from 0-15 (A-F replace the decimal numbers 10-15).
Hex 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13
Dec 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Expanded Values

To find the decimal number times each digit by 16power of digits location and add them together.

5BF is a hex number
5BF = (5 * 162) + ( (B = 11) * 161) + ( (F = 15)* 160)
5BF = (5 * 256) + (11 * 16) + (15* 1) 5BF = 1280 + 176 + 15
5BF = 1471 (in decimal)

162
16*16
161
16
160
1
Expanded value
of Hexadecimal
Decimal
256s 16s 1s 100s 10s 1s
0 0 1

(256*0) + (16*0) + (1*1)

0 0 1
0 1 1

(256*0) + (16*1) + (1*1)

0 1 7
1 1 1

(256*1) + (16*1) + (1*1)

2 6 3
0 0 1

(256*0) + (16*0) + (1*1)

0 0 1
0 0 9

(256*0) + (16*0) + (1*9)

0 0 9
0 0 A

(256*0) + (16*0) + (1*10)

0 1 0
0 0 F

(256*0) + (16*0) + (1*15)

0 1 5
0 1 0

(256*0) + (16*1) + (1*0)

0 1 6
0 1 2

(256*0) + (16*1) + (1*2)

0 1 8
1 3 3

(256*1) + (16*3) + (1*3)

3 0 7
1 2 3

(256*1) + (16*2) + (1*3)

2 9 1
3 3 3

(256*3) + (16*3) + (1*3) =
= 768 + 48 + 3

8 9 1

Uses for Hexadecimal - Hex color

Computer use binary and people use decimal. They are not easy to convert between.
Hexadecimal and binary are though: 1 byte (8 bits) can store 256 different combinations of numbers, which is the same as 2 hexs (FF).
You can make a huge number of different colors by saying how much red, green and blue you want in the color. Each color has 2 columns that can hold the numbers 0-F.
The color order is Red, Green and Blue.
F means full color, 0 means no color, so Red = #FF0000, Green = #00FF00 and Blue = #0000FF. All colors at full intensity make white #FFFFFF, No color makes black #000000

Try it yourself

16s color table
A hex color chart
The hex color system is used by many graphic artist and web designers, try changing the numbers yourself to change the intensity of each color.
  • download
  • new file
  • upload media
  • rename

  • delete
Next task Ctrl+Space
Run Ctrl+Enter
Check Ctrl+Shift+Enter
Reset Ctrl+Backspace
Undo Ctrl+Z
Redo Ctrl+Y
Cut Ctrl+X
Copy Ctrl+C
Paste Ctrl+V
Find Ctrl+F
Find & replace Ctrl+F+F

Keyboard Shortcuts

Code Avengers Tasks

Check/Next CTRL+ENTER
Run CTRL+SHIFT+ENTER
Reset CTRL+BACKSPACE

Editting Code

Undo CTRL+Z
Redo CTRL+Y
Cut CTRL+X
Copy CTRL+C
Paste CTRL+V
Find CTRL+F
Find & replace CTRL+F+F

Toolbox

My Notes

Loading Notes...

Code Avengers Code Avengers
  • {{ $t('HeaderMenu', 'Navigation1') }}
  • {{ item.text }}
  • {{ $t('HeaderMenu', 'Navigation2') }}
  • {{ item.text }}
  • {{ $t('HeaderMenu', 'Navigation4') }}
  • {{ link.text }}
  • {{ $t('Shared', 'Support') }}
  • {{ item.text }}
{{ link.text }}