发信人: lolicon (低调就是腔调), 信区: ANSI
标 题: Re: 第二章
发信站: 日月光华 (2007年01月24日23:04:24 星期三), 站内信件
是这样的,term支持的是16色。可以用红,黄,蓝等表示。也可以用色指标表示。
色指标是24位的,每种元色8位(32位色是每种元色8位,加上8位alpha),如16色中
的红色和24位色中的红色是一种红色,这种红色用24位表示就是FF0000,这个是通用
的表示方法。第1 2位FF(8位)是指红色,这里FF表示红色取最大值,第3 4位00指绿
色,这里取最小值,表示没有绿色,第5 6位表示蓝色。
所以,红色就是FF0000,白色FFFFFF,黄色FFFF00,等等,六个16进制数可以表示任何
计算机能显示的24位色。 这种表示方法叫做RGB表示。
另3个独立参数,色调,饱和度,亮度,每个最大FF,最小00,也能表示同样多的颜色。
也有某些图像软件中有选其他元色的表示方法。
【 在 monopoly (谢绝投条 ==> [信件过量,请整理信件!]) 的大作中提到: 】
: 那应该怎么说来着?
: 其实偶也知道错了。。。256色上面就是16位色了,256色下面呢?难道叫16色?
: 【 在 hw (好玩) 的大作中提到: 】
: : 恩,后面的默认RGB值说"256色"色值,一共24位,应该是16777216啊,呵呵
--
ロリ�� 力を借って!!
今!
必殺�危�
乳搖!
アタァァァァ-ツク!!!!!!
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: CLA]
Sender: lolicon Low-key means tone, message area: ANSI
Title: Re: Chapter 2
Sending site: Sun and Moon Guanghua Wednesday, January 24, 2007 23:04:24, site mail
This is the case. Term supports 16 colors, which can be represented by red, yellow, blue, etc. It can also be represented by color indicators.
The color index is 24 bits, 8 bits for each primary color. 32-bit color is 8 bits for each primary color, plus 8 bits of alpha, such as in 16 colors.
The red in 24-bit color is a kind of red. The 24-bit representation of this red is FF0000. This is universal.
Representation method The 1st and 2nd digits FF and 8th digits refer to red. Here FF represents the maximum value of red. The 3rd and 4th digits 00 refer to green.
Color: Take the minimum value here to indicate no green. The 5th and 6th digits indicate blue.
So red is FF0000, white is FFFFFF, yellow is FFFF00, etc. Six hexadecimal numbers can represent anything.
The 24-bit color that a computer can display is called RGB representation.
The other 3 independent parameters, hue, saturation and brightness, each maximum FF and minimum 00, can also represent the same number of colors.
There are also ways to select other primary colors in some graphics software.
Mentioned in monopoly's masterpiece > [Too many letters, please sort out the letters!]:
: Then what should I say?
: Actually, I also know that I am wrong. The upper part of 256 colors is 16-bit color. The lower part of 256 colors is called 16-bit color.
: Mentioned in hw’s fun masterpiece:
: : Well, the default RGB value at the back says "256 colors", a total of 24 bits, which should be 16777216, haha
ロリ�� 力を Borrow って
now
Must kill �danger�
breast shake
アタァァァァ ツク
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: CLA]