I would like to use the hyperref package to color citations only, but it seems that it colors every link.
For example here:
\documentclass{article}
\usepackage{hyperref}
\hypersetup{
citecolor = blue,
colorlinks = true,
}
\begin{document}
\tableofcontents
\section{This title should be in red in the TOC}
This citation \cite{a} is blue.
\begin{thebibliography}{99}
\bibitem{a} Andros, Using hyperref for a citation, StackExchange, 2022.
\end{thebibliography}
\end{document}
I would like the citation to be blue, but I don't want the items in the table of contents to be red.
Thanks