- \documentclass{article}
- \usepackage[table]{xcolor}
- \begin{document}
- \begin{tabular}{|l|c|r|}
- \hline
- \cellcolor{red!15} Welcome & \cellcolor{magenta!35} to Open & \cellcolor{gray!25} Discussion Forums \\
- \hline
- \end{tabular}
- \end{document}
You can use booktabs for attractive, high quality optimized LaTeX tables.
From an example above, the output table should look as shown below: