[Tex/LaTex] Change the color of rule in moderncv


I have a question about moderncv. I want to work with the moderncv style casual and would like to change the color of the rule in the cvtitle which is defined by


I defined a color by \definecolor{dagr}{rgb}{0.35,0.35,0.35}
and would like to use this color instead of color2!50. How can I do that?

Best Answer

You can patch \makecvtitle and change the color:



\address{street and number}{postcode city}{country}



\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}  % 


enter image description here