11111111 in Decimal
Binary 11111111 equals 255 in decimal.
Why this number matters: 255 is the maximum value of an unsigned byte (8 bits, 0xFF) and the highest value of each RGB color channel.
11111111 in all number bases
Decimal255
Hexadecimal0xFF
Binary1111 1111
Octal377
How 11111111 converts from binary to decimal
Multiply each digit by 2 raised to its position (starting at 0 from the right), then add the results:
1× 27 = 1 × 128 = 128
1× 26 = 1 × 64 = 64
1× 25 = 1 × 32 = 32
1× 24 = 1 × 16 = 16
1× 23 = 1 × 8 = 8
1× 22 = 1 × 4 = 4
1× 21 = 1 × 2 = 2
1× 20 = 1 × 1 = 1
Sum: 255