I am using \pagecolor
to create a black background for white text. This was ok until by mistake I printed black text on the black background - the black text was clearly visible, which to me means that the black background isn't really black.
Trying the \definecolor{pitchblack}{cmyk}{0,0,0,1}
which I found in xcolor black isn't black enough didn't help.
What am I doing wrong?
I hope below qualifies as an MWE despite me leaving the xelatex in. It dind't compile using LaTeX and I am not an expert...
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass{article}
\usepackage[cmyk]{xcolor}
\definecolor{pitchblack}{cmyk}{0,0,0,1}
\begin{document}
\pagecolor{pitchblack}
{\Huge Test}
\end{document}
\definecolor{pitchblack}{cmyk}{1,1,1,1}
. Perhaps you were using a different black?pdflatex
it is black but withxelatex
it is indeed gray.\usepackage[rgb]{xcolor} \definecolor{pitchblack}{rgb}{0,0,0}
works also in XeLateX though.