Minimal example: \documentclass{standalone} \usepackage{xcolor} \begin{document} \end{document} This fails with pdflatex with an undefined control sequence error. Including graphicx before xcolor fixes this. This appears related to this change: https://github.com/ho-tex/pdftex-def/commit/ea30c0fbc033ce69f7dd43ea266270b9f09dd7d3