# Color text in a table

Is there a way to color text in an entire table without using environment tabu? For example, change the color of text in every cell to red.

• Which tabular-like environmet(s) do you use? – Mico May 24 '15 at 6:44
• I use tabular environment. – cerebrou May 24 '15 at 6:45

Do you thing on something like this:

\documentclass{standalone}
\usepackage[table]{xcolor}

\begin{document}
\begin{tabular}{>{\color{red}}c >{\color{red}}c}
\hline
A   &   B   \\
C   &   D   \\
\hline
\end{tabular}
\end{document}


If you wish in red (or other selected color) entire table (with lines), than before table just put command \color{red}

Just use

{\color{red}\begin{tabular}{cc}
a&b\\
1&2
\end{tabular}}


and the table will be red.