\usepackage{xcolor}
\usepackage{fancyhdr}
\usepackage{longtable}
\usepackage{float}

\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\textcolor{gray}{Report}}
\fancyhead[R]{\textcolor{gray}{ncappc}}
\fancyfoot[C]{\textcolor{gray}{\thepage}}
\futurelet\TMPheadrule\def\headrule{{\color{gray}\TMPheadrule}}

\makeatletter
  \providecommand*\setfloatlocations[2]{\@namedef{fps@#1}{#2}}
\makeatother
\setfloatlocations{table}{H}



