Hi I'm trying to work out all the different colour code combinations of 'f and 0 - zero' with 6 digits. Can someone please tell me all of them? It would help greatly. How many combinations are there?
Eg. ff0000
00ff00
0000ff
ffffff
000000
6 digit combination codes?
Added 3+ months ago:
Thankyou, but that's not what I'm asking. I firstly want to know how many 'different combinations' of f and 0 (zero) there would be, with 6 digits. Is there 100 different combinations?
And what 'all the combinations' of f and 0 (zero) with only 6 digits are.
So far I've found about 30 for example: ff0000, 00ff00, 0000ff, ffffff, 000000
I'm looking for all of these different combinations of f and 0 (zero). Thank you
Added 3+ months ago:
As I said they have to be combinations of f and 0 (zero) and 6 digits in length.
Some more I've found are: f00000, ff0000, fff000, ffff00, 0fffff, 00ffff, 000fff, 0000ff, 00000f, f0f0f0, 0f0f0f, 0ffff0, 00fff0, 0fff00, 0ff000, ff00ff, f0fff0, f0ffff, f00fff, f000ff, f0000f, f0ff00, f0f000, f00ff0
Please help me find more of these.
I'm also wanting to know mathematically how many possible combinations there could be?
Responses (4)
When you count, you use ten symbols because you have ten fingers. The word 'digit' means both a number and a finger. An electric computer only has two digits: on and off. So one switch has two positions, called 1 and 0. Two switches have four possible combinations:
00
01
10
11
In a computer we use eight switches. Each switch is called a bit, eight of them are called a byte. Half a bite is called a nibble. So a byte can be represented by two nibbles which have sixteen possible states. This is called hexadecimal, and use our ten digits, 0 through 9 plus six letters A through F.
binary - hex
0000 - 0x0 (The 'x' warns you that this is hex counting. People often omit it.)
0001 - 0x1
0010 - 0x2
0011 - 0x3
0100 - 0x4
0101 - 0x5
0110 - 0x6
0111 - 0x7
1000 - 0x8
1001 - 0x9
1010 - 0xA
1011 - 0xB
1100 - 0xC
1101 - 0xD
1110 - 0xE
1111 - 0xF
So your color numbers use one byte each for red, blue, and green, 0x00 through 0xFF, 256 shades of each color. 16 x 16 x 16 = 16,777,216 colors, but only 256 shades of gray.
Oh, I see, then I am fairly certain the answer would be 64 different combinations.
Here is the list:
ffffff
fffff0
ffff0f
ffff00
fff0ff
fff0f0
fff00f
fff000
ff0fff
ff0ff0
ff0f0f
ff0f00
ff00ff
ff00f0
ff000f
ff0000
f0ffff
f0fff0
f0ff0f
f0ff00
f0f0ff
f0f0f0
f0f00f
f0f000
f00fff
f00ff0
f00f0f
f00f00
f000ff
f000f0
f0000f
f00000
0fffff
0ffff0
0fff0f
0fff00
0ff0ff
0ff0f0
0ff00f
0ff000
0f0fff
0f0ff0
0f0f0f
0f0f00
0f00ff
0f00f0
0f000f
0f0000
00ffff
00fff0
00ff0f
00ff00
00f0ff
00f0f0
00f00f
00f000
000fff
000ff0
000f0f
000f00
0000ff
0000f0
00000f
000000