像素的颜色为什么有2的次方数个

来源:百度知道 编辑:UC知道 时间:2024/06/11 07:35:03
该文章的出处:http://www.8080.net/html/200209/h291410108.html

里面讲到关于颜色数量的说明我看不明白.

原色和基色是一个概念吗?

"高端液晶显示板利用FRC技术使得每个基色则可以表现8位色,即2的8次方=256种颜色."一个基色是指红绿蓝三色中的一色吗?如果是一色可以显示8色,那一个像素应该可以显示8的3次方种颜色啊,怎么会是2的8次方呢?

该文章并没有解释如何算颜色的个数,所以我想可能是你误解它的意思了。

这是我看到的国外的文章关于计算颜色的说明:

“On colour system,each pixel is a certain combination of the three primary colours: red,green and blue.The total number of colours which can be shown on the screen is called the colour palette.The size of this palette depends on the graphics adaptor,a separate video card that converts the bits into visual signals.A graphics adaptor with 1 bit per primary colour can generate up to 8, or 2(3) colours,as you can see from the table on page 19. A graphics adaptor with 8 bits per primary colour can generate 16.7 million or (2(3))(8) colours.”

这段话的主要意思是说如果一个基本色(primary colour,红绿蓝中的一个)占据一位(bit),那么一个像素就可以有2的3次方个颜色.有个表格比较容易看懂.

颜色 红 绿 蓝
黑 0 0 0
蓝 0 0 1
绿 0 1 0
青 0 1 1
红 1 0 0
紫红 1 0 1
黄 1 1 0
白 1 1 1

如果一个基本色占据8位的空间,那么一个像素就会有8的8次方,也就是1677216种颜色了.

现在应该明白了把.^-^