• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

how many colors is in 32 bit color?

It depends on what you define as a "Color". There are 256 * 256 * 256 visible colors, and and 256 levels of opacity. So 32bit color is really the same as 24bit color except that it has 8 extra bits to define the opacity.
 
32 bits hold can a value of up to 4294967296. In terms of colours it's not quite that simple and also depends if you're using INT or FP representation.
 
32-bit color has two parts to it:

color is support by the first 24 bits

translucency per shade of color is supported by the last 8 bits


So do 2^24 in your calculator and you'll get your answer. I don't have a calculator with me right now. But It's supposted to be like 16.7million colors.

Oh wait. another way of doing it is. 8 bits for each primary color: red, blue, green. 8 bits = 256 combinations per color. So multiply 256 x 256 x256 and it will give you 16.7million colors. If you want to factor in the transulcency multiply in another 256.
 
Back
Top