I am using


and the citations come out green, while the page numbers in the table of contents, figure and equation numbers come out blue. These are, as I understand, the standard colours.

How do I just keep the green for the citations but change everything else to a non-standard colour? Like, a dark blue.


You can set various colours using the \hypersetup command (or as optional arguments in \usepackage[...]{hyperref}).

In light of the comments I have expanded the MWE:

  colorlinks = true,
  linkcolor =LightSkyBlue,
  anchorcolor = red,
  citecolor = blue,
  urlcolor = blue
  Isn't \ref{One} a nice equation?

This produces:

enter image description here

See the hyperref manual for details on the possible options.

  • If I want to use a non-standard colour, where should I define it? Before the hypersetup package is loaded? – SuperCiocia Jul 29 '15 at 21:43
  • @SuperCiocia You may load xcolor before hyperref and define your own colors. – Paul Gaborit Jul 29 '15 at 22:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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