I'm trying to figure out the math in a python program im creating that can simulate mixing paint in real life, but I cannot find any info about any CMYK equations on the internet.
Here's an example of what I need to do...
If the CMYK value of Paint Bucket A is (C=10, M=20, Y= 60, k=10)
and the CMYK value of Paint Bucket B is (C=30, m=60, y=100, k=15)
and these two paint buckets were mixed together, what would the CMYK value be of the resulting bucket, and how could I figure that out mathematically?
Also, say Bucket A has twice as much paint as Bucket B, how would that change the equation? And also, what if say three different buckets were mixed together?
First I thought averaging each value together would work. For example if I mixed (0,100,0,0) with (100,0,0,0) and that would give me (50,50,0,0) But then I thought "basically that's mixing pure cyan with pure magenta and it should create" (100,100,0,0)
So I guess the reason it's complicated for me is because the percentages of each color don't have to add up to 100. Any ideas or hints?