Room: https://tryhackme.com/room/datarepresentation
This guide explains how colors and numbers are represented in binary, decimal, and hexadecimal. It helps beginners understand simple data conversion steps used in computing and cybersecurity basics.
Task 2: Representing Colors
Preview the color #3BC81E. In one word, what does this color appear to be?
green
Solution:

What is the binary representation of the color #EB0037?
11101011 00000000 00110111
Solution:

What is the decimal representation of the color #D4D8DF?
212 216 223
Solution:

Task 3: Numbers: From Decimal to Hexadecimal
What is the hexadecimal FF in binary?
1111 1111
Solution:

What is the hexadecimal AB in decimal?
171
Solution:

Convert the hexadecimal FF FF FF to decimal. After you round up the decimal value to the nearest million, how many millions is that?
17
Solution:

Each FF in hex = 255 in decimal.
So:
FFFFFF=(255ร2562)+(255ร2561)+(255ร2560)FF FF FF = (255 ร 256ยฒ) + (255 ร 256ยน) + (255 ร 256โฐ)FFFFFF=(255ร2562)+(255ร2561)+(255ร2560) =(255ร65,536)+(255ร256)+(255ร1)= (255 ร 65,536) + (255 ร 256) + (255 ร 1)=(255ร65,536)+(255ร256)+(255ร1) =16,711,680+65,280+255= 16,711,680 + 65,280 + 255=16,711,680+65,280+255 =16,777,215= 16,777,215=16,777,215
Round to the Nearest Million: 16,777,215 โ 17,000,000
That's a wrap!