例如在使用tikz的node时设定颜色:color=FireBrick2,报错
Package xcolor Error: Undefined color `tikz@color'.
See the xcolor package documentation for explanation.
Type H <return> for immediate help.
...
l.56 \end{axis}
在tex文件开头添加
\usepackage[x11names]{xcolor}
无效。根据Package xcolor Error: Undefined colors “Maroon”/“Royal Blue” when master has PDF included classicthesis 3.1将x11names添加到documentsclass的选项中即可解决该问题:
\documentclass[a4paper,x11names]{article}
\usepackage{xcolor}