I have a simple booktabs table very similar to the following MWE:
\documentclass[12pt]{article}
% set the font of the document
\usepackage{fontspec}
% set line spacing
\usepackage{setspace}
\setstretch{1.15}
\usepackage{relsize}
% table materials
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{array}
\usepackage{multirow}
% define colours
\usepackage{xcolor, colortbl}
\definecolor{my-blue}{RGB}{83,87,118}
\usepackage{microtype}
\begin{document}
\begin{center}
\begin{tabular}{ccc}
\toprule
\rowcolor{my-blue} Variable & Field One & Field Two \\
\midrule
A & 0.0002 & 0.0005 \\
\bottomrule
\end{tabular}
\end{center}
\end{document}
Which produces output like this:
As can be seen, the row color fill doesn't fill the height of the row, how can this be fixed?
Edit:
In addition is it possible to fix this issue when coloring as single cell such as in the following MWE:
\documentclass[12pt]{article}
% set line spacing
\usepackage{setspace}
\setstretch{1.15}
\usepackage{relsize}
% table materials
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{array}
\usepackage{multirow}
% define colours
\usepackage{xcolor, colortbl}
\definecolor{my-blue}{RGB}{83,87,118}
\usepackage{microtype}
\begin{document}
\begin{center}
\begin{tabular}{ccc}
\toprule
Variable & Field One & Field Two \\
\midrule
\cellcolor{my-blue}{A} & 0.0002 & 0.0005 \\
\bottomrule
\end{tabular}
\end{center}
\end{document}
To fill the height of the cell?