Is there a way to add color to borders of table using kable extra in rmarkdown pdf?

Solution 1:

You can add

\usepackage{colortbl}
\arrayrulecolor{green}

to your header includes to change the line colour to green