So, I've read a lot of issues with cell coloring and cell border. I tried to fix them as follows:
I use hhline to print horizontal cell borders.
If I am in the middle of a multirow cell, I print hhline using the same color as the cell. This avoids having white lines in the middle.
However, I still get pale lines running through the middle of my multirow cell. They aren't white, but they are a paler color than the cell.
Here is a MWE.
\documentclass[]{article}
\usepackage{array}
\usepackage{tabularx}
\usepackage{siunitx}
\usepackage[table]{xcolor}
\usepackage{multirow}
\usepackage{hhline}
\begin{document}
This looks bad:
\begin{tabularx}{1\textwidth}{m{0.333\textwidth} m{0.333\textwidth} m{0.333\textwidth} }
\hhline{---}
\multicolumn{1}{|c|}{\cellcolor[RGB]{255, 255, 0} a cell} &
\multicolumn{1}{c|}{\cellcolor[RGB]{255, 192, 203} middle} &
\multicolumn{1}{c|}{right cell} \tabularnewline
\hhline{|-|-|-|}
\multicolumn{1}{|c|}{\cellcolor[RGB]{255, 255, 0} a cell} &
\multicolumn{2}{c|}{\cellcolor[RGB]{255, 165, 0} } \tabularnewline
\hhline{|-|>{\arrayrulecolor[RGB]{255, 165, 0}}-->{\arrayrulecolor{black}}|}
\multicolumn{1}{|c|}{\cellcolor[RGB]{255, 255, 0} a cell} &
\multicolumn{2}{c|}{\multirow{-2}{*}{\cellcolor[RGB]{255, 165, 0} multirow cell with pale line through the middle}} \tabularnewline
\hhline{|-|--|}
\end{tabularx}
\end{document}
Is this just a problem of my particular pdf viewer? Is there a simple fix?



\tabularnewline \\[\dimexpr-\normalbaselineskip -0.5pt\relax] % a a bit up.. Is it sufficient just\tabularnewline? – Zarko Feb 27 '17 at 15:07\hhlinein between. Without it one naturally need only one new line. – Ulrike Fischer Feb 27 '17 at 15:11