Press 1 to change binary. It is 8 digits (multiply by 2 as you go up) and the value can only be 1 or 0: 128 64 32 16 8 4 2 1 so: 1 0 1 0 1 0 1 0 is: (1*128) + (0*64) + (1*32) + (0*16) + (1*8) + (0*4) + (1*2) + (0*1) is 128 + 32 + 8 + 2 = 170. It will convert it to decimal (normal number system) 100 10 1 so: 2 5 5 is: (2*100) + (5*10) + (5*1) = 255. And then to hexadecimal: it is like the normal number system but instead of 100 10 1 it is 256 16 1. instead of multiplying by 10, you multiply by 16. 16 1 so: 1 1 is: (1*16) + (1*1) = 17.
Took ideas from this colour converter: @ThisIsAI https://scratch.mit.edu/projects/240037762/