Extending this wonderfully useful post ("options for appearance of links in hyperref"), I am curious if you might list all the color options (or point me to the appropriate documentation) for linkcolor
, citecolor
, filecolor
, and urlcolor
when using the hyperref
library?
For this, I see as examples black, gray, blue, green, magenta, and cyan.
I also see that linkbordercolor
, citebordercolor
and urlbordercolor
(which control color options of the frame around links, citations, and borders when colorlinks = false
) offer arbitrary color selection (see documentation details)
However I cannot seem to find any way to set arbitrary colors for linkcolor
, citecolor
, filecolor
or urlcolor
(e.g. gray50, {0 0 1} or something else).
Best Answer
Once you load the
xcolor
package, you have access to all the color specifications this package allows; in particular, you can use the hundredths of predefined colors it provides, to the!
modifier for mixing colors, to the-
for complements, etc.; using\definecolor{<name>}{<model>}{<specification>}
you can build your own colors in the desired modes and then use<name>
in thehyperref
setup (please refer to the package documentation for further details).A little example showing some of the possibilities: