Color algebra: How do I pick a color F will make known color C against known background B at opacity N?
February 18, 2008 4:39 PM Subscribe
Color algebra: Given a color C, how do I pick a color F that will
be color C when against background color B at opacity N? How would I do the same thing for a color multiplication?
I'm guessing one can start by treating each color as an RGB or CMYK vector, but I'm more than a little fuzzy on exactly what these operations mean and therefore how to invert them to pick F.
If context matters in defining the operations, practically I'm concerned with whatever Illustrator CS and Fireworks 8 mean by the terms, but I'm interested in general observations as well.
posted by weston to computers & internet (18 answers total) 5 users marked this as a favorite
C = B * (1 - N) + F * N
F * N = B * (1 - N) - C
F = (B * (1 - N) - C) / N
posted by 0xFCAF at 5:01 PM on February 18, 2008