I don't understand why some lines do not render in my table when cells are colored (using tabular).
The lines are visible but not completly and they are not black (they seem to be overlayed by the cell color)
Here is a MWE:
\documentclass{article}
\usepackage{ifxetex}
\usepackage{eurosym}
\ifxetex
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setdefaultlanguage{french}
\defaultfontfeatures{Ligatures=TeX}
\else
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{mathptmx} %Times new roman
\hypersetup{pdftex, colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, urlcolor=blue, pdftitle= }
\usepackage[pdftex]{graphicx}
\fi
\usepackage{color}
\usepackage{supertabular}
\makeatletter
\newcommand\arraybslash{\let\\\@arraycr}
\makeatother
\setlength\tabcolsep{1mm}
\title{ }
\usepackage{multirow}
\usepackage{colortbl}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{1pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{1pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{1pt}}m{#1}}
\usepackage[many]{tcolorbox}
\definecolor{griscellule}{HTML}{D9D9D9}
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Les dimensions du tableau
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newdimen\colBase
\colBase=0.9\columnwidth
\newdimen\colA
\colA=0.3\colBase
\newdimen\colB
\colB=0.25\colBase
\newdimen\colC
\colC=0.22\colBase
\newdimen\colD
\colD=0.23\colBase
\newdimen\colBscA
\newdimen\colBscB
\newdimen\colBscC
\colBscA=0.4\colB
\colBscB=0.2\colB
\colBscC=0.4\colB
\newdimen\colDscA
\colDscA=0.16\colD
\newdimen\colDscB
\colDscB=0.84\colD
\newdimen\colBCD
\colBCD=\colB
\addtolength{\colBCD}{\colC}
\addtolength{\colBCD}{\colD}
\newdimen\colContenu
\colContenu=\colA
\addtolength{\colContenu}{\colB}
\addtolength{\colContenu}{\colC}
\addtolength{\colContenu}{\colDscA}
\newcommand{\titreChamp}{\small\bfseries}
\newcommand{\celluleGrise}{\cellcolor{griscellule}}
\renewcommand\arraystretch{0.95}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{flushleft}
\begin{tabular}{|m{\colA}m{\colBscA}m{\colBscB}m{\colBscC}m{\colC}|m{\colDscA}m{\colDscB}|}
\hline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\multicolumn{1}{|m{\colA}|}{\celluleGrise\raggedleft{\titreChamp There should be a line below :}} &
\multicolumn{3}{m{\colB}|}{\small The Name is} &
\celluleGrise &
\multicolumn{2}{m{\colD}|}{\multirow{2}{\colD}{~}}\\\cline{1-4}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\multicolumn{1}{|m{\colA}|}{\celluleGrise\raggedleft\titreChamp There should be line above : } &
\multicolumn{3}{m{\colB}|}{\small 02/02/2020} &
\multicolumn{1}{m{\colC}|}{
\raisebox{1.6ex}[2.0ex]{\multirow{-2}{\colC}{\celluleGrise\raggedleft{\titreChamp Multirow title :}}}
} %
& & %
\raisebox{1.4ex}[2.7ex]{\multirow{-2}{0.1ex}{multirow value}} %
\\\cline{1-5}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\multicolumn{1}{|m{\colA}|}{\celluleGrise\raggedleft\titreChamp There should be line above : } &
\multicolumn{3}{m{\colB}|}{\small blank} &
\multicolumn{1}{m{\colC}|}{\celluleGrise\raggedleft{ No line above }} %
& & %
\raisebox{1.4ex}[2.7ex]{a value} %
\\\cline{1-5}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\multicolumn{1}{|m{\colA}|}{\raggedleft\titreChamp There is line above : } &
\multicolumn{3}{m{\colB}|}{\small blank} &
\multicolumn{1}{m{\colC}|}{\raggedleft{ A line above }} %
& & %
\raisebox{1.4ex}[2.7ex]{a value} %
\\\hline
\end{tabular}
\end{flushleft}
\end{document}
I am using pdflatex and xelatex on macOS
Is there a solution to make my horizontal lines render correctly ?