Sorry for this simple question.
I am trying to color some cells of my table. Unfortunately, if I color two neighbouring cells, the lines of the table disappear. I have found some questions about this (here or here) They offer using \hhline, but I don't know how I am supposed to use it.
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{multirow}
\usepackage{hhline}
\usepackage{colortbl}
\begin{document}
\begin{table}
\begin{tabular}{|l|c|c|c|c|}
\hline
\multicolumn{5}{|c|}{Type} \\
\hline
& A & B & C & D \\
\hline
X & 53,2\% & \cellcolor[gray]{.9}51,6\% & \cellcolor[gray]{.9}49\% & 49\% \\
Y & 53,8\% & 52,2\% & 49\% & 49\% \\
\hline
\end{tabular}
\end{table}
\end{document}

Can anyone help me with this?