I use this simple code:-
\documentclass[twocolumn,10pt]{article}
\usepackage[table]{xcolor}
\usepackage{array}
\newcolumntype{?}{!{\vrule width 3pt}}
\begin{document}
\begin{table*}[t]
\centering
\setlength\extrarowheight{2pt}
\setlength\arrayrulewidth{2pt}
\arrayrulecolor{white}
\begin{tabular}{|p{30mm}| p{35mm} | p{20mm}|}
\rowcolor{gray!100}
\hline
iota & iota & iota \\
\rowcolor{gray!40}
\end{tabular}
\end{table*}
\begin{table}[]
\centering
\arrayrulecolor{black}
\begin{tabular}{c|c|c|c|}
\cline{2-4}
\multicolumn{1}{l|}{} & t & r & e \\ \hline
\multicolumn{1}{|c|}{1} & l & l & l \\ \hline
\multicolumn{1}{|c|}{2} & l & l & l \\ \hline
\end{tabular}
\end{table}
\end{document}
It gives a black cell. I looked here and here but unable to figure my solution.
I tried using this line instead above: -
\multicolumn{1}{l|}{} & \cellcolor[HTML]{FFFFFF}t & r & e \\ \hline
But this is not visually appealing as the cell borders appear thinner than others. Can someone suggest a good solution?
\usepackage[table][xcolor}to define these commands? – David Carlisle Mar 08 '18 at 20:44\arrayrulecolor{black}is the default so you don't have to write it, unless it has been changed previously. I don't understand the line you changed to: of course you'll obtain a black cell since you ask it. What do you thinkcellcolor[HTML]{FFFFFF}means? – Bernard Mar 08 '18 at 20:44