# Cross referencing the Fig.1 and Eq.(1) in blue color in \documentclass{elsarticle} [duplicate]

please tell me the necessary packages that I must use to get blue colored cross-referring to Fig.1 and Eq.(1). I want to change the color of Fig.1 from black to blue. Thank you very much in advance.

\documentclass[5p]{elsarticle}

\usepackage{lineno}
\modulolinenumbers[5]

\journal{Journal of \LaTeX\ Templates}

\usepackage{times}

\begin{document}

%\linenumbers

\section{Introduction}
Piezoelectric Fig.1 and Eq.(1) effect has been employed to a very great extent in many applications since its discovery by the Curie brothers.

\end{document}

• Hi, please tell me the necessary packages that I must use to get blue colored cross-referring to Fig.1 and Eq.(1). I want to change the color of Fig.1 from black to blue. Thank you very much in advance, – Prakash Dec 15 '17 at 10:04

\usepackage{hyperref}