Displaying an Image

Learn about the RGB model and how to display an image in Python.

A bit about the RGB model

Computer graphics often use the three primary colors of light to create other colors. The primary colors are red, green, and blue and using them this way is known as the RGB model. RGB colors usually have values of 0–255, where 0 means the color isn’t present at all, and 255 means ...