Random Gallery Pic

"Shiny Teardrop"

Newest Image

"The Guardian"

About the Island

This is the personal and art website of Dan Redding: programmer, web developer, wannabe graphic artist, new dad and former pharmaceutical delivery driver.

New 3D Artists - Start Here!

Link to Dan's Island!Banners

Off Base

Did You Know?

  • HEXADECIMAL means "of, relating to, or being a number system with a base of 16"
  • hex- is a latin prefix relating to six, and deci- relates to 10
  • Our 'Normal' number system is DECIMAL (relating to ten) or Base 10, because each digit can have a ten possible values (0-9) and each place is a count of a power of ten:
    Example:
    537
    = (5 * 102) + (3 * 101) + (7 * 100)
    = (5 * (10 * 10)) + (3 * 10) + (7 * 1)
    = (5 * 100) + (3 * 10) + (7 * 1)
    = 500 + 30 + 7
    = 537
  • BINARY is also called Base 2--each digit has two possible values (0 or 1) and each place represents a count of power of two:
    Example:
    11010
    = (1 * 24) + (1 * 23) + (0 * 22) + (1 * 21) + (0 * 20)
    = (1 * (2 * 2 * 2 * 2)) + (1 * (2 * 2 * 2)) + (0 * (2 * 2)) + (1 * 2) + (0 * 1)
    = (1 * 16) + (1 * 8) + (0 * 4) + (1 * 2) + (0 * 1)
    = 16 + 8 + 0 + 2 + 0
    = 26
  • Hexadecimal is Base 16--each digit has sixteen possible values (0 through 15, with A through F representing the 'digits' 10 through 15) and each place represents a count of power of 16:
    Example:
    E3A8
    = (E * 163) + (3 * 162) + (A * 161) + (8 * 160)
    = (14 * (16 * 16 * 16)) + (3 * (16 * 16)) + (10 * 16) + (8 * 1)
    = (14 * 4,096) + (3 * 256) + (10 * 16) + (8 * 1)
    = 57,334 + 768 + 160 + 8
    = 58,280
  • Hexadecimal is favored for many computer applications because large numbers can be written in a small space and because every two digits represent a byte (each digit is a nybble!)
  • There is another system sometimes used in compters: OCTAL. As you might guess from the name, this is Base 8--each digit has eigth possible values (0 through 7) and each place represents a count of power of 8:
    Example:
    4725
    = (4 * 83) + (7 * 82) + (2 * 81) + (5 * 80)
    = (4 * (8 * 8 * 8)) + (7 * (8 * 8)) + (2 * 8) + (5 * 1)
    = (4 * 512) + (7 * 64) + (2 * 8) + (5 * 1)
    = 2,048 + 448 + 16 + 5
    = 2,517
  • If you ever find a situation where octal is the best choice, I'd sure like to know what it is.

Handy-dandy conversion/comparison chart

Base 10
Decimal
Base 2
Binary
Base 16
Hexadecimal
Base 8
Octal
00000 00000000
10000 00010101
20000 00100202
30000 00110303
40000 01000404
50000 01010505
60000 01100606
70000 01110707
80000 10000810
90000 10010911
100000 10100A12
110000 10110B13
120000 11000C14
130000 11010D15
140000 11100E16
150000 11110F17
160001 00001020
170001 00011121
180001 00101222
190001 00111323
200001 01001424
210001 01011525
220001 01101626
230001 01111727
240001 10001830
250001 10011931
260001 10101A32
270001 10111B33
280001 11001C34
290001 11011D35
300001 11101E36
310001 11111F37
320010 00002040