decimal



Decimal, binary and hex representations

  • avatar
  • 3.0K Views
  • 6 Likes
  • 5 mins read
Preview post image

When working with any kind of digital system in which numbers are being represented, it is important to understand the different ways numbers are represented in these systems.

In electronics, almost without fail, numbers are represented by two voltage levels which can represent a one or a zero. The number system based on ones and zeroes is called the binary system: because there are only two possible digits. In HTML programming, colors can be represented by a 6-digit hexadecimal number: FFFFFF represents white whereas 000000 represents black.