# Can't get url's to show color [duplicate]

I want to have url's with no background, but still a distinctive color so as to indicate that they are clickable. I am defining

   \documentclass[line, margin]{res}
\hypersetup{
citecolor=green,
filecolor=magenta,
urlcolor=cyan
}
\begin{document}
\name{Myname}
\begin{resume}

\href{http://example.com}{Text}

\end{resume}
\end{document}


Res file can be found here: link

• (1) always post full minumal examples, we cannot see your document class. (2) might it be related to hidelinks? – daleif Oct 10 '14 at 8:57
• Just tested and it is related to hidelinks. I gather that the colors are related to the links, not the text. – daleif Oct 10 '14 at 8:59
• @daleif I have posted a full minimal example. – yayu Oct 10 '14 at 9:06
• See Andrews answer, adding colorlinks also works. The standard frame around the text is associated to the links which you have hidden. Also remember that as Andrew mentions, res is not a generally known class, so the MWE isn't that usable. – daleif Oct 10 '14 at 9:51

I'm not sure what res.cls is...I guess that it is your own non-standard class file (oh, just saw the link in the OP's post...).

In any case, you just need to set colorlinks=true in hypersetup:

\hypersetup{

With this your MWE gives (after replacing the res document class with report and ignoring your \name macro...):