<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=Hex_numbers_explained</id>
	<title>Hex numbers explained - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=Hex_numbers_explained"/>
	<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Hex_numbers_explained&amp;action=history"/>
	<updated>2026-04-30T02:35:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=Hex_numbers_explained&amp;diff=545&amp;oldid=prev</id>
		<title>AwesomO: Created page with &quot;== Hex Numbers Explained ==  === What Are Hexadecimal Numbers? === Hexadecimal (or &quot;hex&quot;) is a base-16 number system used to represent numbers in a compact, human-readable way, especially in computing. Unlike the decimal system (base-10), which uses digits 0–9, hexadecimal uses 16 symbols: 0–9 for values 0–9 and A–F (or a–f) for values 10–15.  &#039;&#039;&#039;Hex Symbol Values:&#039;&#039;&#039; * 0–9 represent 0–9 * A = 10, B = 11, C = 12, D = 13, E = 14, F = 15  Hex numbers are wi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=Hex_numbers_explained&amp;diff=545&amp;oldid=prev"/>
		<updated>2025-05-29T15:41:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Hex Numbers Explained ==  === What Are Hexadecimal Numbers? === Hexadecimal (or &amp;quot;hex&amp;quot;) is a base-16 number system used to represent numbers in a compact, human-readable way, especially in computing. Unlike the decimal system (base-10), which uses digits 0–9, hexadecimal uses 16 symbols: 0–9 for values 0–9 and A–F (or a–f) for values 10–15.  &amp;#039;&amp;#039;&amp;#039;Hex Symbol Values:&amp;#039;&amp;#039;&amp;#039; * 0–9 represent 0–9 * A = 10, B = 11, C = 12, D = 13, E = 14, F = 15  Hex numbers are wi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Hex Numbers Explained ==&lt;br /&gt;
&lt;br /&gt;
=== What Are Hexadecimal Numbers? ===&lt;br /&gt;
Hexadecimal (or &amp;quot;hex&amp;quot;) is a base-16 number system used to represent numbers in a compact, human-readable way, especially in computing. Unlike the decimal system (base-10), which uses digits 0–9, hexadecimal uses 16 symbols: 0–9 for values 0–9 and A–F (or a–f) for values 10–15.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Hex Symbol Values:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* 0–9 represent 0–9&lt;br /&gt;
* A = 10, B = 11, C = 12, D = 13, E = 14, F = 15&lt;br /&gt;
&lt;br /&gt;
Hex numbers are widely used in programming, digital electronics, and color codes (e.g., #FF0000 for red in web design) because they align with binary (base-2), the language of computers, where one hex digit represents four binary digits (bits).&lt;br /&gt;
&lt;br /&gt;
=== How Hex Numbers Work ===&lt;br /&gt;
Hex numbers are read in blocks of digits, where each digit’s position represents a power of 16. To convert a hex number to decimal (base-10), multiply each digit by 16 raised to the power of its position (starting from 0 on the right) and sum the results.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For a two-digit hex number (e.g., XY):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* X (left digit) is multiplied (x16) by 16¹ (16).&lt;br /&gt;
* Y (right digit) is multiplied (x1) by 16⁰ (1).&lt;br /&gt;
* Add the results to get the decimal value.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;01&amp;#039;&amp;#039;&amp;#039;: (0 × 16) + (1 × 1) = 0 + 1 = &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;A4&amp;#039;&amp;#039;&amp;#039;: (10 × 16) + (4 × 1) = 160 + 4 = &amp;#039;&amp;#039;&amp;#039;164&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;E4&amp;#039;&amp;#039;&amp;#039;: (14 × 16) + (4 × 1) = 224 + 4 = &amp;#039;&amp;#039;&amp;#039;228&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;FF&amp;#039;&amp;#039;&amp;#039;: (15 × 16) + (15 × 1) = 240 + 15 = &amp;#039;&amp;#039;&amp;#039;255&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Why Use Hexadecimal? ===&lt;br /&gt;
Hexadecimal is compact and efficient for representing large binary numbers. For example:&lt;br /&gt;
* Binary &amp;lt;code&amp;gt;11111111&amp;lt;/code&amp;gt; = Hex &amp;lt;code&amp;gt;FF&amp;lt;/code&amp;gt; = Decimal &amp;lt;code&amp;gt;255&amp;lt;/code&amp;gt;.&lt;br /&gt;
* One hex digit represents four bits, so two hex digits can represent a byte (8 bits), making it easier to read and write than long binary strings.&lt;br /&gt;
&lt;br /&gt;
Hex is common in:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Programming&amp;#039;&amp;#039;&amp;#039;: Memory addresses, machine code.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Color Codes&amp;#039;&amp;#039;&amp;#039;: RGB values (e.g., #FFFFFF = white).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Digital Systems&amp;#039;&amp;#039;&amp;#039;: Representing binary data in hardware design.&lt;br /&gt;
&lt;br /&gt;
=== A Brief History of Hexadecimal ===&lt;br /&gt;
The hexadecimal system was popularized in the 1950s and 1960s with the rise of digital computing. Early computers used binary, but it was cumbersome for humans. Hexadecimal emerged as a practical solution because it maps directly to binary while being more concise than decimal. IBM and other computer manufacturers adopted hex in their documentation and programming tools. The use of A–F for 10–15 was standardized to avoid confusion with decimal digits.&lt;br /&gt;
&lt;br /&gt;
=== Converting Between Hex and Other Systems ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Hex to Binary&amp;#039;&amp;#039;&amp;#039;: Each hex digit equals four bits. E.g., &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;1010&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;1111&amp;lt;/code&amp;gt;. So, &amp;lt;code&amp;gt;A4&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;10100100&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Decimal to Hex&amp;#039;&amp;#039;&amp;#039;: Divide the decimal number by 16, note the remainder (0–15, using A–F for 10–15), and repeat for the quotient until it’s 0. Read remainders backward.&lt;br /&gt;
** Example: 164 ÷ 16 = 10 remainder 4 (4); 10 ÷ 16 = 0 remainder 10 (A). Result: &amp;lt;code&amp;gt;A4&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tools&amp;#039;&amp;#039;&amp;#039;: Most programming languages (e.g., Python’s &amp;lt;code&amp;gt;hex()&amp;lt;/code&amp;gt; function) and calculators handle conversions automatically.&lt;br /&gt;
&lt;br /&gt;
=== Fun Fact ===&lt;br /&gt;
Hexadecimal is often prefixed with &amp;lt;code&amp;gt;0x&amp;lt;/code&amp;gt; (e.g., &amp;lt;code&amp;gt;0xFF&amp;lt;/code&amp;gt;) in programming to distinguish it from decimal numbers. This convention started with early programming languages like C.&lt;br /&gt;
&lt;br /&gt;
=== Try It Yourself ===&lt;br /&gt;
* Convert &amp;lt;code&amp;gt;7B&amp;lt;/code&amp;gt; to decimal: (7 × 16) + (11 × 1) = 112 + 11 = &amp;#039;&amp;#039;&amp;#039;123&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* Convert 200 to hex: 200 ÷ 16 = 12 (C) remainder 8. Result: &amp;lt;code&amp;gt;C8&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
</feed>