Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have several solid/filled colored objects drawn and when they overlap I would like there colors to blend.

Basically I have things that represent stuff like a warning = yellow, error = red, safe = green, etc...

When these objects overlap I want there colors to represent the combined effect. When we have a warning with safe we have overlap of a yellow object with a green which will give a yellow-green color. If we have an error with safe we have a red-green color for the overlap. If we have a warning-error-safe overlap then we have a yellow-red-green color all in equal proportions.

Any idea how to do this in tikz or anything else in tex?

share|improve this question
2  
Look at texample.net/tikz/examples/venn-diagram A complete example is always a good thing ! – Alain Matthes Mar 20 '12 at 18:39
fill opacity=0.5 is the key! – Uiy Mar 20 '12 at 19:19
2  
@Uiy: Please get in the habit of composing a fully compilable MWE that illustrates the problem including the \documentclass and the packages needed so that those trying to help don't have to recreate it. At times it may seem trivial, but it helps immensely to clarify the issue and those trying to help can start solving the problem rather than first trying to recreate it, and then solving it. Start showing the problem instead of just describing it. – Peter Grill Mar 20 '12 at 22:35
@PeterGrill Please stop telling me that!! ;) I don't have the time do that all the time. Also, it is not necessary. Surely my question is obvious enough to do it? If not then maybe it is not my problem(not saying it is not but). Again, my proof is that Altermundus had no issues understanding what I want. Also, chances are if you are confused by my description you don't know enough about it in the first place to give a good answer. (even if I didn't say it well, the more you know about it the better you'll be able to figure out what I meant) – Uiy Mar 20 '12 at 22:53
Basically I'm not asking some very terse question or rare problem that I need to spell every thing out. Basically the question is "How to do transparency/blending in TiKs" and the answer is as simple as "Use the property "fill opacity" passed to the TiKs graphics commands" or even just "use fill opacity!". Why make things harder than they are for no good reason? (I do understand a MWE might help some understand it that do not but my goal is to find an answer, usually quick, and I just need the person who has done something similar or has similar knowledge to see it) – Uiy Mar 20 '12 at 22:55
show 1 more comment

closed as not a real question by lockstep, Joseph Wright May 6 '12 at 8:33

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.