I want to change the border color of my hyperref links depending on an input variable for the \myLabel command.

In this MWE all links are colored blue. How can I use a third input variable in my command to tell him to change this color just for a particular label and not overall in the hyperref settings?


\usepackage[linkbordercolor={0 0 1}]{hyperref}


  \section*{Test Section}

Output Output

1 Answer 1

  1. With


    color names can be used instead of raw numbers in linkbordercolor.

  2. The color can be changed locally in a group with \hypersetup, e.g.:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .