For recent versions of moderncv
you need to use
\usepackage{etoolbox}
\patchcmd{\makecvtitle}{\color{color2!50}\@firstname}{\color{color2}\@firstname}{}{}
\patchcmd{\makecvtitle}{\color{color2}\@lastname}{\color{color2!50}\@lastname}{}{}
(Thank you, Gonzalo Medina!)
The following applies only for version 2008/06/17 v0.7
of moderncv
The names are typeset by the commands
\firstnamestyle
\familynamestyle
which are defined in moderncv.cls
as follows
\providecommand*{\firstnamestyle}[1]{{\firstnamefont\color{firstnamecolor}#1}}
\providecommand*{\familynamestyle}[1]{{\familynamefont\color{familynamecolor}#1}}
You can adjust them to your liking via
\renewcommand*{\firstnamestyle}[1]{{<whatever>#1}}
\renewcommand*{\familynamestyle}[1]{{<whatever>#1}}
If you just want to switch the colors, your call would be
\providecommand*{\firstnamestyle}[1]{{\firstnamefont\color{familynamecolor}#1}}
\providecommand*{\familynamestyle}[1]{{\familynamefont\color{firstnamecolor}#1}}
Best Answer
The current version of
moderncv
(version 2.2.0 of Jul 28, 2015) has 5 styles (other than the dummyempty
one):casual
(default),classic
,oldstyle
,banking
, andfancy
and 8 color schemes:
black
,blue
,burgundy
,green
,grey
,orange
,purple
, andred
.