[Tex/LaTex] How to change line color in tabular


How can I change the color of the lines (the frame) in a tabular environment? In the following MWE:

a&b&c \\ \hline
d&e&f \\ \hline

I would like the horizontal and vertical lines of the table to have, say a blue color.

Best Answer

You can use the colortbl package for this. It works as follows:

    test & test\\\arrayrulecolor{blue}\hline

Looks like this:

Array with coloured rules

Related Question