Home

heksadecimalni

Heksadecimalni is the term used in several South Slavic languages to refer to the hexadecimal numeral system, a base-16 number system. It uses sixteen symbols: 0 through 9 for values zero to nine, and A through F (case-insensitive) for ten to fifteen. Each position represents a power of 16; for example, the hex number 1A3F equals 1×16^3 + 10×16^2 + 3×16 + 15, which is 6719 in decimal.

In computing, hexadecimal is favored because each hex digit corresponds to exactly four binary digits (a nibble),

Common conventions include the prefix 0x in many programming languages to denote a hex literal, such as

Hexadecimal notation is one of several bases used in mathematics and computer science; it is distinct from

making
it
convenient
for
reading
and
writing
binary
data.
This
close
relation
to
binary
underpins
its
widespread
use
in
programming,
debugging,
and
hardware
contexts.
0xFF
for
255,
or
0x1A2B3C.
In
web
development,
hex
codes
are
used
to
specify
colors,
for
example
#FF0000
for
red
or
#00FF7F
for
a
shade
of
green.
decimal
and
binary,
though
it
serves
as
a
compact
bridge
between
them.
The
etymology
derives
from
Greek
roots
referring
to
the
base
sixteen.