By learning the basics of color, we know that each pixel has a corresponding brightness, this brightness and hue is not related, the same brightness can be either red or green, as in black and white (grayscale) television, like the image of a single gray can not determine whether it is red or green. Therefore, the brightness and hue of the pixel are irrelevant. It is wrong to say that green is brighter than red. We can do it. Using the third drawing method of the rectangular tool, the values of s and b are fixed by the 〖f6〗 HSB of the color palette, and only the H value is changed (note that the value of s cannot be 0%,b is 0% and 100%. Otherwise you will get the same black, white or grayscale color to pick three colors. Then create a new layer and use these three colors to draw three rectangles in the same layer. The following part of the picture.
Then copy and move the layer to the bottom, and then use the Go Color command "image > Adjust > Go to Color" 〖ctrl SHIFT u〗 the layer to grayscale, pull out the information palette 〖f8〗 switch to RGB, the mouse in three gray squares move, you can see the color of the same three squares. The lower part of the figure below. The arrangement of the rectangles does not need to be as neat as the image below, as long as you can see the difference. In addition, if you forget about the color palette and the information palette, see "#01 RGB color Mode" and "#04 on the opacity of the constituency." will not be prompted in future courses.
In fact, the brightness is similar to grayscale, gray-black and white as brightness, in the "hue-independent" aspect of the two are consistent, so gray is often used to indicate brightness. Then, convert the image to grayscale, you can see the image of the pixel brightness distribution. For example, the above-used color command "image > Adjust > Go Color" 〖ctrl SHIFT U〗, you can convert the image to grayscale. Note This sentence: "Convert the image to grayscale". This is actually not rigorous, because the go Color command does not work for all layers. So you should say, "convert layers to grayscale." In fact, the color adjustment commands are only for a single layer, even if there are layer links or layer groups.
If you want to convert the entire image to grayscale, change the color mode "image > Mode > Grayscale." When you change the color mode, you are prompted to merge the layers. Note that "image > Mode > Grayscale" differs from the algorithm for color-out commands. If you use image > Mode > Grayscale for the 3 colored rectangles above, you will get 3 rectangles with different shades of gray. Here we first use the effect of the color-removal command, and hue/saturation 〖ctrl U〗 to minimize the saturation of the effect as a grayscale standard. Let's look at an image in grayscale, as shown below. Because there is only one layer, you can use the Go Color command to change the entire diagram.
Because Gray is equal to brightness, the grayscale image to the right of the following figure actually represents the pixel brightness in the image. Photoshop roughly divides the brightness of the image into level three: darkened, midtones, and highlights. This is a very important idea of Photoshop. The darker part of the screen is darkened, the white part belongs to the high light, and the remaining transition part belongs to the middle tune.
We know that the brightness value of the pixel is between 0 and 255, the pixel near 255 is brighter, the brightness near 0 is lower, and the remainder belongs to the middle tune. This difference in brightness is an absolute distinction between 255 pixels near the high light, 0 pixels near the darkened, and the middle tuned around 128.