I am getting this error when trying to compile a TeX document using pdflatex:
Package xcolor Error: Undefined color `lightblue2'
Here is my file:
\documentclass{article}
\usepackage[x11names, rgb]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{snakes,arrows,shapes}
\usepackage{amsmath}
%
%
%
%
\begin{document}
\pagestyle{empty}
%
%
%
\enlargethispage{100cm}
% Start of code
\begin{tikzpicture}[>=latex',line join=bevel,]
%%
\node (Wollongong) at (487bp,594bp) [draw=lightblue2,fill=lightblue2,ellipse] {Wollongong};
\node (PDP-11 Sys V) at (884bp,306bp) [draw=lightblue2,fill=lightblue2,ellipse] {PDP-11 Sys V};
\node (Interdata) at (258bp,594bp) [draw=lightblue2,fill=lightblue2,ellipse] {Interdata};
\node (2*8 BSD) at (221bp,162bp) [draw=lightblue2,fill=lightblue2,ellipse] {2.8 BSD};
% CODE REMOVED TO SAVE SPACE
%
\end{tikzpicture}
% End of code
%
\end{document}
%
Best Answer
You are looking for the colour
LightBlue2
, notlightblue2
.Internally all colours are represented as macros and, macros are case-sensitive. That is,
\latex
is different from\Latex
and\LaTeX
and\LATEX
and... In fact colourX
is stored in a macro\\color@X
: