Problem med font color i latex
HejJeg sidder med et dokument hvor jeg har en lstlistings som skal highlighte noget af teksten.
% Formatering af Listings
\lstset{%
mathescape={true},
%backgroundcolor=\color{grey},
identifierstyle=\ttfamily,
basicstyle=\scriptsize,
breaklines,
tabsize=4,
frame=single,
aboveskip=\bigskipamount,
moredelim=**[is][\bfseries\footnotesize]{£}{£}
}
\usepackage[HTML]{xcolor} % used for lstlistings
\definecolor{black}{HTML}{000000}
\definecolor{red}{HTML}{A31515}
\definecolor{blue}{HTML}{0000FF}
\definecolor{purple}{HTML}{2B91AF}
\definecolor{green}{HTML}{008000}\renewcommand{\lstlistingname}{Code example}
\lstset{%
language=[Sharp]C,
basicstyle=\footnotesize,
tabsize=4,
breaklines=true,
tab=$\to$,
float=tbph,
extendedchars=true,
breaklines=true,
frame=single,
frameround=tttf,
framesep=6pt,
rulecolor=\color{black},
showtabs=false,
showspaces=false,
showstringspaces=false,
identifierstyle=\ttfamily,
captionpos=b,
escapeinside=\@\@,
numbers=left,
numberstyle=\tiny,
stepnumber=5,
columns=flexible,
firstnumber=1,
numbersep=16pt,
basicstyle=\small\color{black},
stringstyle=\color{red}\ttfamily,
keywordstyle=\color{blue}\ttfamily,
commentstyle=\color{green}\ttfamily,
emph={Convert,Exception,String,Array,Random,Assert,DataRecommendation},
emphstyle=\color{red}\ttfamily,
}
Men når jeg bruger ovenstående bliver hele teksten i dokumentet blå!.. nogen der ved hvordan man sætte teksten til sort igen?