I want to color my citations using biblatex alphabetic citation style. However, I do not to only color the "key" (as it is the case in this paper) but the whole block including :
- opening bracket (or brace)
- (possible) pre-note : for example 'cf.'
- the "key" (depending on the citation style - 'Abc90' in my case)
- (possible) post-note : for example 'p. 1337 sqq.'
- closing bracket (or brace)
I succeed in colouring the key + the brackets around the citation (+ the colon in case of multiple keys cited).
However, I don't know how to color the postnote ('p. 43' in the MWE) and the key in the bibliography ('Joh73')
My MWE is :
\documentclass{article}
%== inclue bib file ==%
\usepackage{filecontents}
\begin{filecontents}{referencia.bib}
@misc{john-73,
author = {John, S.},
year = {1973},
title = {The best book ever},
}
\end{filecontents}
%== use and define color ==%
\usepackage[dvipsnames]{xcolor}
\definecolor{bleu_cite}{RGB}{12,127,172}
%== use color in citations ==%
\usepackage[
colorlinks=true,
allcolors = black,
citecolor=bleu_cite,
]{hyperref}
%== biblatex options ==%
\PassOptionsToPackage{
natbib=true,
backend=biber,
style=alphabetic,
}{biblatex}
\usepackage{biblatex}
\addbibresource{referencia.bib}
\makeatletter
\renewcommand*{\bibleftbracket}{\blx@postpunct\textcolor{bleu_cite}{[}}
\renewcommand*{\bibrightbracket}{\blx@postpunct\textcolor{bleu_cite}{]}\midsentence}
\renewcommand*{\multicitedelim}{\textcolor{bleu_cite}{\addsemicolon\space}}
\renewcommand*{\citesetup}{\textcolor{bleu_cite}}
\makeatother
\begin{document}
``Some quotation'' \citep[43]{john-73}.
\printbibliography
\end{document}


\AtEveryCite{\color{bleu_cite}}. – moewe Jul 10 '15 at 14:35