Second step

For each color that is not the background, the saturation and luminance level needs to be calculated, summed up, and halved. So, for each color, a value representing its level of saturation and luminance is acquired.
