I want most of my citation to be blue in color. So I used
\usepackage{hyperref}
\hypersetup{colorlinks,linkcolor={blue},citecolor={blue},urlcolor={red}}
But I need some of my citation in a different color(say yellow). I tried
{\color{yellow} \cite{eg} }
to change the specific citation brutally but it doesn't work. What should I do.