The environment {NiceTabular} of nicematrix has tools in order to color cells, rows and columns in a convenient way.
Morevorer, with nicematrix you won't have the thin white lines you see in some PDF viewers.
\documentclass{article}
\usepackage{nicematrix}
\begin{document}
\begin{NiceTabular}{cc}
\CodeBefore
\rowcolor{gray!50}{1}
\rowcolors{2}{gray!25}{white}
\Body
Table head & Table head\
Some values & Some values\
Some values & Some values\
Some values & Some values\
Some values & Some values\
\end{NiceTabular}
\end{document}
You need several compilations (because nicematrix uses PGF/Tikz nodes under the hood).

You can also color the rows with any cycle of colors:
\documentclass{article}
\usepackage{nicematrix}
\begin{document}
\begin{NiceTabular}{c}
\CodeBefore
\rowlistcolors{1}{red!15,blue!15,green!15}
\Body
Mathilde \
Pierre \
Paul \
Juliette \
Jacques \
Antoine \
Emmanuelle \
\end{NiceTabular}
\end{document}

\rowcolorscommand is not referenced anywhere in the manual. Only the\rowcolorwithout thes. Any idea on how to make color alternate every n row ? – Overdrivr Oct 12 '16 at 10:06\begin{cases}\end{cases}– cw' Oct 18 '19 at 15:21\rowcolors{2}{white}{gray!25}– Matthias Luh Nov 29 '23 at 09:35