Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Pixel
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Bits per pixel=== {{Main|Color depth}} The number of distinct colors that can be represented by a pixel depends on the number of bits per pixel (bpp). A 1 bpp image uses 1 bit for each pixel, so each pixel can be either on or off. Each additional bit doubles the number of colors available, so a 2 bpp image can have 4 colors, and a 3 bpp image can have 8 colors: * 1 bpp, 2<sup>1</sup> = 2 colors ([[binary image|monochrome]]) * 2 bpp, 2<sup>2</sup> = 4 colors * 3 bpp, 2<sup>3</sup> = 8 colors * 4 bpp, 2<sup>4</sup> = 16 colors * 8 bpp, 2<sup>8</sup> = 256 colors * 16 bpp, 2<sup>16</sup> = 65,536 colors ("[[Highcolor]]" ) * 24 bpp, 2<sup>24</sup> = 16,777,216 colors ("[[24-bit color|Truecolor]]") For color depths of 15 or more bits per pixel, the depth is normally the sum of the bits allocated to each of the red, green, and blue components. [[Highcolor]], usually meaning 16 bpp, normally has five bits for red and blue each, and six bits for green, as the human eye is more sensitive to errors in green than in the other two primary colors. For applications involving transparency, the 16 bits may be divided into five bits each of red, green, and blue, with one bit left for transparency. A 24-bit depth allows 8 bits per component. On some systems, 32-bit depth is available: this means that each 24-bit pixel has an extra 8 bits to describe its [[Opacity (optics)|opacity]] (for purposes of combining with another image).
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)