La base esadecimale A base hexadecimal Die Hexadezimalbasis Système hexadécimal Notación hexadecimal

Hexadecimal notation

As binary numbers get longer and longer, a new base had to be introduced: hexadecimal numbering.
The hexadecimal number system counts using base 16, so after the first 10 digits come the first six letters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.

Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F
Binary 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

An example

The number 27 (in base 10) is, in base 16: 1*161 + 11*160 = 1*161 + B*160
that is, 1B in base 16.

The number FB3 (in base 16) is, in base 10: F*162 + B*161 + 3*160 = 3840 + 176 + 3 = 4019

A byte is converted into hexadecimal by splitting it into two groups of 4 bits each, each of which corresponds to a hexadecimal digit.

2 A D 5
0010 1010 1101 0101


Last update on Thursday October 16, 2008 02:43:14 PM.This document entitled « Hexadecimal notation » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Best answers for « Hexadecimal notation » in :
CSS - Colours Show Colours The CSS standard offers different ways to define colours: by name with hexadecimal notation with decimal notation Applying a colour with its name HTML has names set for a limited number of colours (see HTML colours). The number of...
Know the Hexadecimal code of a color Show Know the Hexadecimal code of a color What is a Hexadecimal code What is a Hexadecimal code In mathematical terms, a hexadecimal (hex) is a numeral system consisting of a base, of 16. It uses sixteen distinct symbols: Numeric symbols:...
Introduction to e-Business Show Introduction to e-Business It is widely acknowledged today that new technologies, in particular access to the Internet, tend to modify communication between the different players in the professional world, notably: relationships between the...
GIT for Windows ShowGIT for Windows Git on Windows Git is a powerful Source Code Management tool: However GIT is not fully supported by windows despite GIT is a fast program. One of the most notable difficulties is that of losing work when...
Download Picture Viewer ShowThe recent versions of Windows, notably XP and Vista already have an application to view pictures fast on the computer. But with the previous versions such as Win. 98, 00 and Miss, it was necessary to view pictures one in one. Picture Viewer is...
Download FLV-Media Player ShowFLV-Media Player is other than a reader of files FLV. This format being the one who is the most spreading among videos in online uninterrupted broadcasting, notably on sites specialized as YouTube. FLV-Media Player allows you to create a list of...
The Colour Table ShowCoding colours In HTML, colours are defined by three hexadecimal numbers, which represent the Red, Green, and Blue tones (using RGB coding) of the chosen colour. This is the syntax for coding a colour in HTML: color="#RRGGBB" RR, GG and BB each...
BinHex encoding ShowBinHex encoding BinHex encoding (a contraction of binary-to-hexadecimal) is a proprietary algorithm owned by Apple for converting 8-bit binary data into a 7-bit format. BinHex encoding, designed for Macintosh systems, is used to preserve file...