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.

Friendly Access here!

Task 2: Representing Colors

Preview the color #3BC81E. In one word, what does this color appear to be?

green

Solution:

None

What is the binary representation of the color #EB0037?

11101011 00000000 00110111

Solution:

None

What is the decimal representation of the color #D4D8DF?

212 216 223

Solution:

None

Task 3: Numbers: From Decimal to Hexadecimal

What is the hexadecimal FF in binary?

1111 1111

Solution:

None

What is the hexadecimal AB in decimal?

171

Solution:

None

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:

None

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!