How to mix colors "naturally" with C#?

Posted by crono on Stack Overflow See other posts from Stack Overflow or by crono
Published on 2008-12-29T18:02:23Z Indexed on 2010/04/10 19:33 UTC
Read the original article Hit count: 728

Filed under:
|
|
|

I have to mix some colors in a natural way. This means

blue + yellow = green 
blue + red = purple

and so on. I got the colors as RGB-Values. When I try to mix them I got the right "RGB"-results like

green + red = yellow
yellow + blue = white

but not the right "natural-wet-paint"-results. Any good idea how to mix RGB in a natural way?

It would be great if someone knew a solution within the Microsoft.Xna.Framework.Graphics namespace but a generic solution would also help :)

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET