Today I found something weird. When I use \selectcolormodel{} in a TikZ drawing the model is only applied to \fill and not to \draw[fill=]. Does anyone know why?
\documentclass{article}
%\usepackage[gray]{xcolor} % all draws or fills become gray
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw [fill=cyan] (0,0) rectangle (1,1);
\fill [cyan] (2,0) rectangle (3,1);
\end{tikzpicture}
\selectcolormodel{gray}
\begin{tikzpicture}
\draw [fill=cyan] (0,0) rectangle (1,1); % expected this one to change
\fill [cyan] (2,0) rectangle (3,1);
\end{tikzpicture}
\end{document}
And the result is the one below.



\draw [cyan] ...gives you grayscale output, too. And\fill [fill=cyan]...does not. TikZ does some complicated things with colour, some of which are designed to work even ifxcoloris not available and I suspect something there is responsible but the code is well beyond my understanding :(. – cfr Oct 10 '15 at 21:27every picturekeys – percusse Oct 12 '15 at 20:52