I'm trying to fill out cells in several rows of my table, however, the color is not filling the entire cell. I can't explain myself why. Additionally, I want my table to be textwidth but it's not executed somehow. Maybe someone could help me understand what I'm doing wrong.
All help highly appreciated!
Here is the code:
\begin{table}[]
\centering
\caption{}
\label{Tab1}
\begin{tabularx}{\textwidth}{@{}lccccc@{}}
\toprule
\textbf{Author(s)} & \multicolumn{1}{l}{\textbf{RP}} & \multicolumn{1}{l}{\textbf{PP}} & \multicolumn{1}{l}{\textbf{ST}} & \multicolumn{1}{l}{\textbf{HD}} & \multicolumn{1}{l}{\textbf{RT}} \\ \midrule
AK & Yes & Yes & \cellcolor[HTML]{C0C0C0}\textbf{Yes} & Yes & Yes \\ \midrule
SK & Yes & Yes & \cellcolor[HTML]{C0C0C0}\textbf{Yes} & Yes & Yes \\ \midrule
MN & \cellcolor[HTML]{656565}{\color[HTML]{FFFFFF} No} & {\color[HTML]{333333} Yes} & \cellcolor[HTML]{C0C0C0}\textbf{Yes} & \cellcolor[HTML]{656565}{\color[HTML]{FFFFFF} No} & \cellcolor[HTML]{656565}{\color[HTML]{FFFFFF} No} \\ \midrule
MS & Yes & \cellcolor[HTML]{656565}{\color[HTML]{FFFFFF} No} & \cellcolor[HTML]{C0C0C0}\textbf{Yes} & Yes & \cellcolor[HTML]{656565}{\color[HTML]{FFFFFF} No} \\ \midrule
JB & Yes & Yes & \cellcolor[HTML]{C0C0C0}\textbf{Yes} & Yes & Yes \\ \midrule
HL & Yes & Yes & \cellcolor[HTML]{C0C0C0}\textbf{Yes} & Yes & Yes \\ \bottomrule
\end{tabularx}
\end{table}
This is what I get


\textwidthpart: You need to turn one or more columns fromlorctoXso thattabularxcan do it's magic. – Martin Scharrer Feb 21 '18 at 18:17