I see \fcolorbox making very thin white lines between the border of a box and the dark background and at the corners of the border. Here is an example:
\documentclass{article}
\usepackage{colortbl}
\begin{document}
\fcolorbox{black}{black}{\quad}
\end{document}
When enlarged, the result looks like the following when viewed in macOS Preview.app:
How can I remove those lines for \fcolorbox? Thanks.
Remove thin white line in dark colored cells and Very thin white line in colortbl deal with the problem for \columncolor.



okularandevinceshow lines or not depending on the magnification. I tend to blame antialiasing algorithms normally (well, basically the exception to the antialiasing algorithm that is added to avoid wiping out sub-pixel lines, that is). – Rmano Jul 01 '21 at 06:51\fcolorboxwith the same color for the background and the frame. You should use\colorboxinstead and you will never have thin white lines since you will have only one colored rectangle... – F. Pantigny Jul 01 '21 at 10:44