TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I know how to define a color using \definecolor with literals to describe the color. How can I define a color using an already defined color? In other words: How can I make a color accessible under multiple names?

share|improve this question
up vote 26 down vote accepted

This can be simply done using \colorlet{mycolor}{someothercolor} from the xcolor package. Here someothercolor can be any other color name or a color mix like

You should note that this copies the current color definition. If someothercolor is changed afterwards (e.g. using another \colorlet) mycolor will not change.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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