Calculate the original color and opacity of a layer of color that overlaps a bottom layer of color.