The color of each pixel is usually based on RGB mixed colors, and each color component is represented by one byte, but in some cases, different color coding methods may be used.
It should be noted that a pixel is not a unit of length, but a count of pixel points. For example, 50px represents 50 pixels, 845px*338px represents 845 points in the horizontal direction and 338 points in the vertical direction. The more pixels, the clearer the image.