Home > Common Problem > What does 24-bit rgb true color mean?

What does 24-bit rgb true color mean?

醉折花枝作酒筹
Release: 2021-06-22 15:40:43
Original
38333 people have browsed it

24-bit color is called true color, which can reach the limit of human eye resolution. The number of colors is 16.77 million, which is 2 to the 24th power. 24 refers to the number of digits in the color of the picture. The picture is stored in the form of "pixels". It is necessary to record the color value of the first "pixel" so that the stored picture can be seen when the picture is opened.

What does 24-bit rgb true color mean?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

Computers also use binary to represent colors.

1. The total number of 16-bit colors is 65536 colors, which is 2 to the 16th power;

2.24-bit colors are called true colors, which can reach the limit of human eye resolution. The number of colors is 16.77 million, which is 2 to the 24th power.

3.32-bit color is not the color number of 2 raised to the power of 32. It is actually more than 16.77 million colors, but it adds 256 levels of grayscale. For the convenience of naming, it is stipulated as 32 bit color. A small number of graphics cards can achieve 36-bit color, which is 24-bit color numbers plus 512 levels of color grayscale.

This 24-bit color also has a weird name called 8-bit channel color. Why is it called that?

The so-called channel here actually refers to the brightness range of each of the three colors. , we know that its range is 256, 256 is 2 to the 8th power, which is called 8-bit channel color.

Similarly, 4 digits for 16 colors means 2 to the fourth power = 16. In this color mode, there are 2 to the 16th power of colors.

When saving as gif format, you can see that there are 2-bit, 4-bit, 8-bit colors in the drop-down list. You can try it. If a true color image containing many colors is converted into 4-bit or 8-bit color , you can see the color loss.

24 refers to the number of digits in the color of the picture. The reason why the picture must be divided into digits of color is because since the picture is stored in the form of "pixels", the color value of the first "pixel" must be recorded. , so that you can see the stored picture when opening the picture.

Record the number of binary digits occupied by the color value of each pixel, which is the number of digits in the BMP image. There are different methods for recording color values, such as using RGB values, that is, recording red (RED), Mix the color values ​​of GREEN and BLUE, as well as XRGB, ARGB and so on.

For example, a 16-bit color value can be divided into: X1 bit, R5 bit, G5 bit, B5 bit; R5 bit, G6 bit, B5 bit or 4 bits of X, R, G, B, etc. etc.;

24-bit color values ​​are called "true color", which have a unified color allocation: R8 bit, G8 bit, B8 bit;

32-bit color values ​​are generally allocated like this: X8 bit, R8 bit, G8 bit, B8 bit or A8 bit, R8 bit, G8 bit, B8 bit.

Of course there are more pictures with different color values, such as 1-bit, 4-bit, 8-bit, etc. The more bits used for each color value, the more color depth is expressed. The higher the accuracy, the more realistic all images will be, and of course the larger the image capacity will be.

In applied art, there is often a saying that "look at the color from a distance and look at the flower up close, look at the color first and then the flower, and 70% of the color is 30% of the flower".

This also shows that in any design, color plays the first role in conveying information through visual stimulation. Therefore, only by having a good grasp of the basic knowledge of color can you be comfortable in web design.

For more computer-related knowledge, please visit the FAQ column!

The above is the detailed content of What does 24-bit rgb true color mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template