I am trying to draw a simple "array" data structure in Beamer using tabular. I would like to color some of the cells blue. Here is my M(N)WE.
\documentclass{beamer}
\usepackage[table]{xcolor}
\begin{document}
\begin{frame}
\frametitle{test}
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
\cellcolor{blue!25}A&
\cellcolor{blue!25}B&
\cellcolor{blue!25}C&
B&
A&
B&
C\\
\hline
\end{tabular}
\end{frame}
\end{document}
This doesn't compile. How should it be done?
The first problem is
! LaTeX Error: Option clash for package xcolor.