Each pixel value directly contains red, green, and blue components.
Use get_red_pixel_details, etc, to obtain information about how the components are assembled into a pixel value.