# Having several different colored borders for internal links

My question is: Is is possible to change the color of the borders of one or several internal links in LaTeX, without changing them all? I know it is possible to define a different colored borders for different kinds of links (one color for internal links, one color for URL links, one color for file links, etc). But is it possible to take one internal link (\ref{whatever}) and change the color of its border, without changing the color of all the borders for all other internal links?

I am convinced that this isn't possible, but it would be great if someone happens to know a way to make it possible!

Sure it is possible; you can use \hypersetup inside a group to locally change the color:

\documentclass{article}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{hyperref}

\begin{document}

As we see, equation~{\hypersetup{linkbordercolor=cyan}\eqref{whatever}} is identical to equation~\eqref{whatever}.
$$\label{whatever} a=b.$$

\end{document}


And, of course, you can define dedicated commands:

\documentclass{article}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{hyperref}

$$\label{whatever} a=b.$$