Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

Fuzebox color ?
Moderator: adafruit

Fuzebox color ?

by beta260gtx on Sat Jul 25, 2009 8:00 am

Hi , i try to understand how 3bit of red , 3bit of green and 2bit of blue can = 256color!

if i try calculate it,

in binary , 111*111*11 =147
in dec. 7*7*3 = 147

where im wrong ?

because we can read on some webpage 256 simultaneous colors

tanks for your help
beta260gtx
 
Posts: 2
Joined: Sat Jul 25, 2009 7:50 am

Re: Fuzebox color ?

by mwr on Sat Jul 25, 2009 10:06 am

111*111*11 in decimal is 7*7*3. What you want is 8*8*4=256.

This Wikipedia page should explain 8-bit color in general.
mwr
 
Posts: 47
Joined: Sun Jun 07, 2009 3:08 pm

Re: Fuzebox color ?

by uze6666 on Sat Jul 25, 2009 2:45 pm

3 bits is (2^3) and gives 8 possible colors, so (2^3)*(2^3)*(2^2) = 8*8*4 = 256.

-Uze
uze6666
 
Posts: 31
Joined: Sat Dec 27, 2008 4:00 pm

Re: Fuzebox color ?

by beta260gtx on Sun Jul 26, 2009 5:11 pm

ok yes i understand,

Tanks for your answer :D
beta260gtx
 
Posts: 2
Joined: Sat Jul 25, 2009 7:50 am