A Hex can be converted to Decimal using these steps:-
Let's say your Hex value is
A54, and you want to convert it to its decimal form.
(10 x 162)=
(5 x 161)=
(4 x 160)=
2560 + 80 + 4=
2644is the decimal equivalent of your hex number
Give below is a table showing all hex digits and their decimal 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.