/heks/
noun — “six things bundled together, or a number system that looks like it belongs in a spellbook but is actually just base sixteen.”
Hex has two common meanings in hacker slang. The first is a shorthand for hexadecimal, the base-16 numbering system used extensively in computing. The second is a casual grouping term meaning a set of six items, similar in spirit to quad as a four-pack.
In the numerical sense, hexadecimal is a positional number system that uses sixteen distinct symbols:
0–9, A–FThis maps cleanly onto binary because four bits can represent exactly sixteen values:
// 4-bit groups → hex digits
0000 = 0
1001 = 9
1010 = A
1111 = FThat alignment is why hex became deeply embedded in low-level computing: memory addresses, machine instructions, color codes, and debugging output all frequently rely on it as a compact human-readable form of binary data.
In its grouping sense, a hex is simply a collection of six items:
// examples
6 registers → hex
6 packets → hex
6 values → hexThis usage has nothing inherently to do with magic or black art, although the coincidence of spelling has made it an irresistible source of puns in technical culture.
One frequently retold anecdote illustrates this perfectly:
True story: as a joke, some hackers once offered surplus integrated circuits for sale as protective amulets against hostile magic. The chips in question were, of course, hex inverters.
The humor works because it sits at the intersection of two interpretations of the same word: one mathematical, one folkloric. In practice, however, there is nothing mystical about hex—it is simply a compact representation of binary data that happens to look like it should come with incantations.
Whether used as a base system or a grouping term, hex reflects a recurring pattern in computing language: simple structures acquiring layered meanings through usage, punning, and historical accident.
See hexadecimal, quad, Byte, Bit, magic