The final step is simple division. You take the total sum for Red and divide it by the total number of pixels. You do the same for the Green and Blue totals. The result is a new RGB value (e.g., R:120, G:150, B:175), which is the average color of the entire image.