Hexadecimal Number System

  . Refers to base-16 number system.
  . It contains numbers from 0-9 and A, B, C, D, E, F.
  . A represents 10, B=11, C=12, D=13, E=14 and F=15.

  . Computers work only on binary number system.
  . For our convenience, we convert binary into hexadecimal.
  . Group of 4 bits (nibble) is represented as one hexa digit.

Conversion of decimal into hexadecimal:

Conversion of hexadecimal into decimal:

Where we use Hexadecimal?

  . Commonly used to describe locations in computer memory.
  . Term '0x' is added as prefix or suffix to describe it is hexadecimal.
  . Used in assembly language instructions.
  . Describing colors on web pages like fff, 000 etc.