Please find the code and the corresponding output below
\documentclass{article}
\usepackage{colortbl}
\begin{document}
\begin{table*}[]
\centering
\renewcommand{\arraystretch}{1.2}
\caption{\textcolor{red}{Pole}}
\label{table5}
\begin{tabular}{|c|c|c|c|}
\hline
\begin{tabular}[c]{@{}c@{}}\textcolor{red}{OHO} \\ \textcolor{red}{MF} \\ \textcolor{red}{$P$}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textcolor{red}{OYE}\\ \textcolor{red}{OME}\\ \textcolor{red}{$P$}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textcolor{red}{RA}\\ \textcolor{red}{OY} \\ \textcolor{red}{M}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textcolor{red}{FR}\\ \textcolor{red}{MOO}\\ \textcolor{red}{$M$}\end{tabular} \\\arrayrulecolor{red} \hline
\textcolor{red}{-1.5 } & \textcolor{red}{-2} & & \\ \hline
\textcolor{red}{-2.1634 + 1.2490i } & \textcolor{red}{-3}
& &
\\ \hline
\textcolor{red}{-2.7 }
& \textcolor{red}{-4}
&
&
\\ \hline
\end{tabular}
\end{table*}
\end{document}
I want to make all the borders and the contents of the table in red color. However, as seen in the attached figure, the color of the topmost row and column is not coming in color. Also, the color of "Table 1: " is not in red color. So, my query is how to make the complete table in red color?
\color{red}
after\centering
everything will become red.