In mathematics and computing, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. As an example, the hexadecimal number 2AF316 can be converted to an equivalent decimal representation.