# Is it possible to have different colours between hyperlinks for figures reference and for chapters reference?

I'm trying to have different colours regarding the hyperlinks for figures and for chapters. So far I've been able to differentiate the colours between equations and chapters/figures, doing this



\usepackage[dvipsnames,table]{xcolor}

\newcommand*{\SavedEqref}{}
\let\SavedEqref\eqref
\renewcommand*{\eqref}[1]{%
\begingroup
}%
\SavedEqref{#1}%
\endgroup
}

\usepackage{subcaption}
\usepackage{hyperref}
\hypersetup{