The following example works as expected:
\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{makecell, multirow}
\renewcommand\theadfont{\normalsize\bfseries\color{white}}
\renewcommand{\theadgape}{}
\usepackage{hhline}
\begin{document}
\centering
\setlength\arrayrulewidth{2pt}
\arrayrulecolor{yellow}
\def\clinecolor{\hhline{>{\arrayrulecolor{yellow}}--%
>{\arrayrulecolor{gray}}-}}
\setlength\extrarowheight{2pt}
\begin{tabular}{ c | c | c }%
\rowcolor{gray}
\multicolumn{2}{c|}{\thead{AAA -- BBBB}} & \\
\clinecolor
\rowcolor{gray}
\color{white} AAA & \color{white} BBB & \multirow{-2}{*}{\thead{CCC}} \\
\hhline{>{\arrayrulecolor{yellow}}-|-|-}
\rowcolor{gray!25}
aaa & bbb & ccc \\
\hline
\rowcolor{gray!25}
ddd & eee & fff
\end{tabular}
\end{document}
But the following not:
\documentclass[xcolor=table]{beamer}
\usepackage{makecell, multirow}
\renewcommand\theadfont{\normalsize\bfseries\color{white}}
\renewcommand{\theadgape}{}
\usepackage{hhline}
\begin{document}
\begin{frame}
\frametitle{test}
\centering
\setlength\arrayrulewidth{2pt}
\arrayrulecolor{yellow}
\def\clinecolor{\hhline{>{\arrayrulecolor{yellow}}--%
>{\arrayrulecolor{gray}}-}}
\setlength\extrarowheight{2pt}
\begin{tabular}{ c | c | c }%
\rowcolor{gray}
\multicolumn{2}{c|}{\thead{AAA -- BBBB}} & \\
\clinecolor
\rowcolor{gray}
\color{white} AAA & \color{white} BBB & \multirow{-2}{*}{\thead{CCC}} \\
\hhline{>{\arrayrulecolor{yellow}}-|-|-}
\rowcolor{gray!25}
aaa & bbb & ccc \\
\hline
\rowcolor{gray!25}
ddd & eee & fff \\
\hhline{|-|-|-|}
\end{tabular}
\end{frame}
\end{document}
Why are the in beamer rules so strangely misplaced? Is there some workaround?








articledoesn't work inbeamer. – Zarko Dec 06 '17 at 15:35\hhlinecoloring problem (border of lines is still visible). so far i havent time to investigate, what is going on (is this only viewer artifact?). eventually i will ask new question about his. – Zarko Dec 08 '17 at 09:37