Yet another question, this time with coloring the table. This is the code for the table I got with your help here:
\documentclass{article}
\usepackage{multirow}
\begin{document}
\begin{table}[h]
\begin{tabular}{*{6}{|c}|}
\cline{3-6}
\multicolumn{2}{c|}{} & M1 & M2 & M3 & M4 \\ \hline
\multirow{3}{*}{A1} & a1 \quad a2 & 0,3 \quad 0,5 & 0,1 \quad 0,2 & 0,3 \quad 0,8 & 0,4 \quad 0,7 \\
& b & 3 & 2 & 0,1 & 1 \\
& c & 1 & 0 & -5 & 3 \\ \hline
\multirow{3}{*}{A2} & a1 \quad a2 & 0,3 \quad 0,5 & 0,1 \quad 0,2 & 4 \quad 2 & 0,1 \quad 0,2 \\
& b & 3 & 2 & 0,1 & 1 \\
& c & 1 & 0 & -5 & -2 \\ \hline
\multirow{3}{*}{A3} & a1 \quad a2 & 0,3 \quad 0,5 & 0,1 \quad 0,2 & 4 \quad 2 & 0,1 \quad 0,2 \\
& b & 3 & 2 & 0,1 & 1 \\
& c & 1 & 0 & -5 & -2 \\ \hline
\end{tabular}
\end{table}
\end{document}
How can I color the table to look like it as follows? Many thanks in advance.
Best Answer
A bit complicated...