You need to use colortbl
to color the standard rules tabular
(horizontal or vertical):
\documentclass{article}
\usepackage{colortbl}
\begin{document}
\begin{tabular}{c}
\arrayrulecolor{red}\hline
a \\
\arrayrulecolor{green}\hline
\end{tabular}
\end{document}
source
to share