Hexadecimal is a numeric system widely used by systems designers and computer programmers. It contains 16 symbols from 0 to 9 and A to F, thus having a base of 16.
Binary is the numeric system of computers. Computers are so dumb they only understand 0s and 1s. Binary numbers have a base of 2.
A Hex can be converted to Binary using these steps:-
Let's say your Hex value is
1A4, and you want to convert it to its binary form.
Binary system might be what computers use, but the hexadecimal number system is the closest one to it that us humans can comprehend. One of the unique properties of a hexadecimal number is that it can be easily converted to binary digits. All you need is the conversion chart shown below that maps all hex digits with their binary equivalents.
Hex is used in HTML to represent colors. For example, FF0000 refers to the color red. Hex editors use it to display binary data stored in files. You can express any byte from 0-255 using two hexadecimal digits. 00 represents the NULL character whose byte value is 0, and FF means 'ÿ' (the Latin small letter y with diaeresis). Thus, a hex digit represents a nibble, and two of them represent a byte.