The problem: given a final color and a background color, how do you find a color and transparency combination that matches the final color?
Equations from a Stack Overflow post.