[Tex/LaTex] Change URL Hyperlink color but not other hyperref colors

hyperreflinks

Building on the question asked here, I just wanted the web hyperlink to be blue but the other hyperlinks to remain the color it was.

\documentclass[11pt,fleqn]{book}
\usepackage{etex}
\usepackage{filecontents}
\begin{filecontents}{chap1.bib}
 @online{pll_wikipedia,
    url={http://en.wikipedia.org/wiki/Phase-locked_loop},
    author = {Wikipedia},
    %note = {Last visited on <insert date here>},
    title = {Phase-Locked Loop},
    %month = aug,
    %year = {2006},
}
\end{filecontents}

\usepackage[svgnames]{xcolor}

\usepackage{avant}
\usepackage{mathptmx}
\usepackage{microtype} 
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage{calc} 
\usepackage{textcomp} 
\usepackage{empheq}
\usepackage{graphicx}

% --------------------------------------------------------------------
% line breaks in URLs at "-"
\PassOptionsToPackage{hyphens}{url}
% --------------------------------------------------------------------

%----------------------------------------------------------------------------------------
%   HYPERLINKS IN THE DOCUMENTS
%----------------------------------------------------------------------------------------

\usepackage{hyperref}
\hypersetup{hidelinks,backref=true,pagebackref=true,hyperindex=true,colorlinks=true,breaklinks=true,urlcolor= blue,bookmarks=true,bookmarksopen=false,pdftitle={`Title},pdfauthor={Author}}
\usepackage{bookmark}
\bookmarksetup{
open,
numbered,
addtohook={%
\ifnum\bookmarkget{level}=0 % chapter
\bookmarksetup{bold}%
\fi
\ifnum\bookmarkget{level}=-1 % part
\bookmarksetup{color=ocre,bold}%
\fi
}
}

\usepackage[refsection=chapter,defernumbers=true,sorting=none,sortcites=true,autopunct=true,babel=hyphen,abbreviate=false,backref=true,backend=biber]{biblatex}
\addbibresource{chap1.bib}
 \defbibheading{bibempty}{}

\AtBeginDocument{\urlstyle{same}}%

\begin{document}
\noindent
This is just some text to show the text lines before the align environment \cite{pll_wikipedia}.

\begin{tabular}{lll}
  T1 & - & This is an explanation of equaion 1 \\
  T2 & - & This is the explanation of another equ \\
  T2T3 & - & $\dfrac{Test}{Test2}$ \\
\end{tabular}

\newpage
\section*{Bibliography}
\subsection*{Online}
\printbibliography[heading=bibempty,type=online,prefixnumbers={O}]

\end{document} 

If I run this code, my other hyperlinks (like \cite, \label, \tableofcontents colors get affected. Is there a way to locally change just the web url color with this setup?

Best Answer

I followed the command from here: \renewcommand\UrlFont{\color{red}\rmfamily\itshape} and was able to just change the url font and color.