# Change color of a reference in bibliography

I am using {thebibliography} and I wanted to make one reference in blue font. I use \color{blue} but the problem is that the reference is in blue font but the number is still in black font.

Does anyone knows how to make the number blue as well?

I tried few things but couldn't manage. I tried something like {\color{blue} \bibitem{ref2}} but it doesn't work.

(Too long for a comment, hence posted as an answer.)

I experience no problem getting both the bib entry and the associated number to show up in blue if either the color or the xcolor package is loaded.

\documentclass{article}
\usepackage{xcolor}  % or "color"

\begin{document}
\begin{thebibliography}{99}