\documentclass[11pt]{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{array}
\usepackage[table]{xcolor} % 'table' option loads »colortbl«
% from the UK TeX FAQ
\newcolumntype{$}{>{\global\let\currentrowstyle\relax}}
\newcolumntype{^}{>{\currentrowstyle}}
\newcommand{\rowstyle}[1]{%
\gdef\currentrowstyle{#1}%
#1\ignorespaces
}
\begin{document}
\begin{table}[!ht]
\renewcommand{\arraystretch}{1.3}
\caption{Account of My Goats}\label{tab:goat-acc-table}
\centering
\begin{tabular}{|$c||^c|}\hline
\rowstyle{\bfseries\itshape}
Color & Number \\ \hline
\rowcolor{black}
\rowstyle{\color{white}\bfseries}
White & 1 \\ \hline
Black & 2 \\ \hline
\end{tabular}
\end{table}
\end{document}