I have this table, based on this:
\documentclass{book}
\usepackage{colortbl}
\usepackage{hhline}
\begin{document}
\setlength{\arrayrulewidth}{2pt}
\begin{tabular}{|c|c|c|}
\hline
& & \ \hline
& & \
\hhline{
>{\arrayrulecolor{yellow}} |
>{\arrayrulecolor{black}} -
>{\arrayrulecolor{yellow}} |
>{\arrayrulecolor{black}} -
>{\arrayrulecolor{yellow}} |
>{\arrayrulecolor{black}} -
>{\arrayrulecolor{yellow}} |
>{\arrayrulecolor{black}}
}
& & \
\hhline{
>{\arrayrulecolor{yellow}} |
>{\arrayrulecolor{black}} -
>{\arrayrulecolor{yellow}} |
>{\arrayrulecolor{black}} -
>{\arrayrulecolor{yellow}} |
>{\arrayrulecolor{black}} -
>{\arrayrulecolor{yellow}} |
>{\arrayrulecolor{black}}
}
& & \ \hline
\end{tabular}
\end{document}
I want the vertical lines in the third row to be yellow.
I have read this, but the colour affects to all the rows.





tabularray, some interesting examples are on pages 10, 12 in package documentation. – Zarko Jul 21 '22 at 15:54