I know How to construct the opposite color by selecting each of the R, G, B, Channel individually and subtracting each value from 255.
But I don’t know how to obtain the mix color of two colors. In the other word assume we draw to ellipse that overlaps each other (they have alpha channel). One is red and one is green. What will the mix color of red and green?