title: I'm looking for a blend mode that gives 'realistic' paint colors. (Subtractive)
body: <p>I've been looking for a blend mode to (well ...) blend two RGB pixels in order to build colors in the samw way that a painter builds them (i.e: subtractive).</p>
  
  <p>Here are quick examples of the type of results that I'm expecting:</p>
  
  <blockquote>
    <p>CYAN + MAGENTA = BLUE<br>
    CYAN + YELLOW = GREEN<br>
    MAGENTA + YELLOW = RED<br>
    RED + YELLOW = ORANGE<br>
    RED + BLUE = PURPLE<br>
    YELLOW + BLUE = GREEN  </p>
  </blockquote>
  
  <p>I'm looking for a formula, like:
      dest_red = first_red + second_red;
      dest_green = first_green + second_green;
      dest_blue = first_blue + second_blue;</p>
  
  <p>I've tried with the commonly used 'multiply' formula but it doesn't work; I've tried with custom made formulas but I'm still not able to 'crack' how it should work. And I know already a lot of color theory so please refrain from answers like:</p>
  
  <blockquote>
    <p>Check this link: <a href="http://example.com" rel="nofollow" title="example link for the proposition of website that would explain the difference between additice and subtractive lighting">http://the_difference_betweeen_additive_and_subtractive_lighting.html</a></p>
  </blockquote>
  
  <p>Note: Check that your blend method works with YELLOW + BLUE = GREEN and YELLOW + RED = ORANGE</p>