True color
True color, also known as 24-bit color, is a method of representing color in digital images and displays using 24 bits per pixel (bpp), with 8 bits dedicated to each of the red, green, and blue (RGB) primary color channels.[1][2] This allocation allows for 256 intensity levels per channel (2^8), resulting in a total of 16,777,216 possible colors (256 × 256 × 256), which enables highly accurate and photorealistic color reproduction without the need for color dithering or quantization artifacts common in lower bit-depth systems.[1][3][2] In contrast to earlier color depths, such as 8 bpp (256 colors, often indexed from a palette) or 16 bpp high color (65,536 colors, typically using 5-6-5 bits for RGB), true color provides sufficient granularity for natural scenes and gradients, making it the standard for modern computer graphics, photography, and video rendering.[4][2][3] This format emerged as hardware capabilities advanced in the 1990s, becoming ubiquitous in bitmap image files like BMP and in display adapters supporting up to millions of colors.[5][6] True color is foundational to contemporary visual technologies, including web graphics and remote desktop protocols, where it ensures fidelity in color-critical applications; extensions like 32 bpp incorporate an additional 8-bit alpha channel for transparency while maintaining the core 24-bit RGB structure.[6][4]Fundamentals
Definition
True color is a color depth mode in digital imaging and computer graphics that employs at least 24 bits per pixel, allocating 8 bits to each of the red, green, and blue (RGB) channels, thereby enabling the representation of approximately 16.7 million distinct colors. This approach provides a high-fidelity approximation of the visible color spectrum, surpassing the limitations of indexed color palettes used in lower-depth systems. By directly mapping pixel values to precise RGB intensities, true color eliminates the need for dithering techniques or palette approximations, which often introduce visible artifacts such as color banding in smooth gradients or transitions.[7] In lower bit-depth modes, such as 8-bit or 16-bit color, the limited number of available shades forces the simulation of intermediate colors through spatial averaging, resulting in perceptible steps or noise; true color's expansive palette renders these issues obsolete for most practical displays. From a perceptual standpoint, true color aligns closely with human visual capabilities, as the eye can distinguish around 10 million colors under optimal viewing conditions.[8] This match ensures that digital images appear natural and continuous to observers, without the quantization errors that degrade realism in shallower color representations. The total number of addressable colors in a standard RGB true color system is calculated using the formula$2^{b \times 3}
where b represents the bits per channel. For the typical case of b = 8, this computes to $2^{24} = 16,777,216 distinct colors.