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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Defining a Color using another

How can one define a new color using the mix of other colors like red!50!blue. I can us this as an arguement of \color but not with \defincolor




    \color{red!50!blue} works
    \color{mix} doesn't work

I guess it’s a problem with the pseudo-modell named since red!50!blue is not a single color name. But is there a color-modell accepting mixed colors to define a new one?

share|improve this question

marked as duplicate by Tobi, topskip, egreg, doncherry, Jake Jun 27 '12 at 11:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I found tex.stackexchange.com/q/41980/4918 which seems to be a duplicate. It’s shows a way using \colorlet but I still wonder if there’ll be a way using \defincolor? – Tobi Jun 27 '12 at 7:54
up vote 5 down vote accepted

Use \colorlet:




    \color{red!50!blue} works
    \color{mix} work as well
share|improve this answer
Oh, it's a duplicate.... "sorry for answering" – topskip Jun 27 '12 at 7:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.