# Use red!50!blue with \definecolor [duplicate]

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

\documentclass{article}

\usepackage{xcolor}

\definecolor{mix}{named}{red!50!blue}

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


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?

-

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

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

Use \colorlet:

\documentclass{article}

\usepackage{xcolor}

\colorlet{mix}{red!50!blue}

\begin{document}
\color{red!50!blue} works
\color{mix} work as well
\end{document}

-
Oh, it's a duplicate.... "sorry for answering" –  topskip Jun 27 '12 at 7:56