Click on the grid area to start painting.
Select the desired Final Color (C):
Layer B
Layer A
Preview of the final composition (each triangle will have its random background, overlaid by B and A)