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

How can I define colors for a moderncv LaTeX file, for the following commands?

  • \address
  • \title
  • \phone
  • \mail
share|improve this question
up vote 6 down vote accepted

The colors of moderncv are controlled by color0, color1 and color2 (the last one being used for the elements you mention). You can redefine these as you like (example for cyan):


Some predefined settings can be loaded through \moderncvcolor:


where the argument can be blue, orange, green, red, purple, grey or black.

Finally, you could also use directly \textcolor in the argument of any moderncv command other than \email:

\phone{\textcolor{red}{123 456 7890}}
share|improve this answer

The \moderncvcolor command allows you to define the color for headings.

% color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'

There are several other parameters that you can control, for example the font.

% to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name

You may consult the documentation and examples for further reference.

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.