First you need to import the color package:
\usepackage{color}
Then import the hyperlink package
\usepackage{hyperref}
Set the color of hyperlinks
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=blue,
citecolor=cyan,
}
%改变颜色
Then you can insert a hyperlink through href, the specific syntax:
\href{超链接}{描述}
What if you want to change the color back or set it to a color other than the one in hypersetup?
\href{超链接}{\textcolor{想要修改的颜色}{描述}}
This way you can change it to the color you want