\documentclass{minimal}
\usepackage{amsmath}
\usepackage[active,tightpage]{preview}
\setlength\PreviewBorder{1pt}
\usepackage{pgf}
\usepackage{tikz}
\usepgfmodule{plot}
\usepgflibrary{plothandlers}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{shadings}
\begin{document}
\begin{preview}
%tikz
\begin{tikzpicture}[every node/.style={draw,scale=1pt,
minimum width=27pt,inner sep=3pt,
line width=0pt,draw=black}]
\matrix[row sep=2pt,column sep=2pt]
{\node[left color=-red,right color=-green]{996};&
\node[fill=red]{997};&
\node[fill=-red]{998};&
\node[left color=-green,right color=red!20]{999};\\
\node[fill=-green]{981};&
\node[fill=-red]{982};&
\node[fill=red]{983};&
\node[left color=-red,right color=-green,middle color=green!20]{984};&
\node[fill=-blue]{985};&
\node[left color=-red,right color=-red!50,middle color=black!70]{986};&
\node[left color=-green,right color=red!50,middle color=-red!20]{987};&
\node[left color=-red,right color=blue!50,middle color=-green!50]{988};&
\node[left color=-blue!50,right color=blue!20]{989};&
\node[,upper left=-red,upper right=-green,lower left=-blue,lower right=green!50]{990};&
\node[fill=red]{991};&
\node[left color=-red,right color=black!25]{992};&
\node[fill=-green]{993};&
\node[left color=-red,right color=red!50]{994};&
\node[fill=-blue]{995};\\
\node[,upper left=-red,upper right=-green,lower left=red!50,lower right=-blue!50]{966};&
\node[fill=red]{967};&
\node[left color=-red,right color=green!50]{968};&
\node[left color=-green,right color=-red!50,middle color=-green!50]{969};&
\node[left color=-red,right color=-blue]{970};&
\node[fill=red]{971};&
\node[left color=-red,right color=-green]{972};&
\node[fill=red!50]{973};&
\node[fill=-red]{974};&
\node[left color=-green,right color=-blue,middle color=blue!50]{975};&
\node[fill=-red]{976};&
\node[fill=red]{977};&
\node[left color=-red,right color=-green]{978};&
\node[fill=green!50]{979};&
\node[left color=-red,right color=-blue,middle color=red!50]{980};\\
\node[fill=-green]{951};&
\node[left color=-red,right color=red!50,middle color=-red!50]{952};&
\node[fill=red]{953};&
\node[left color=-red,right color=-green,middle color=-green!20]{954};&
\node[fill=-blue]{955};&
\node[fill=-red]{956};&
\node[left color=-green,right color=green!50,middle color=black!70]{957};&
\node[fill=-red]{958};&
\node[fill=red!50]{959};&
\node[left color=-red,right color=-green,middle color=-blue]{960};&
\node[fill=black!25]{961};&
\node[left color=-red,right color=blue!50,middle color=red!20]{962};&
\node[fill=-green]{963};&
\node[fill=-red]{964};&
\node[fill=-blue]{965};\\
\node[left color=-red,right color=-green,middle color=blue!50]{936};&
\node[fill=red]{937};&
\node[left color=-red,right color=red!50]{938};&
\node[fill=-green]{939};&
\node[left color=-red,right color=-blue,middle color=-red!20]{940};&
\node[fill=red]{941};&
\node[left color=-red,right color=-green]{942};&
\node[left color=-blue!50,right color=green!20]{943};&
\node[fill=-red]{944};&
\node[left color=-green,right color=-blue,middle color=red!50]{945};&
\node[left color=-red,right color=green!50,middle color=blue!20]{946};&
\node[fill=red]{947};&
\node[left color=-red,right color=-green]{948};&
\node[fill=blue!50]{949};&
\node[left color=-red,right color=-blue,middle color=-green!50]{950};\\
\node[fill=-green]{921};&
\node[fill=-red]{922};&
\node[fill=blue!50]{923};&
\node[,upper left=-red,upper right=-green,lower left=red!50,lower right=green!50]{924};&
\node[left color=-blue,right color=red!20]{925};&
\node[fill=-red]{926};&
\node[fill=-green]{927};&
\node[left color=-red,right color=black!70]{928};&
\node[fill=red]{929};&
\node[,upper left=-red,upper right=-green,lower left=-blue,lower right=black!25]{930};&
\node[left color=red!50,right color=-green!50]{931};&
\node[fill=-red]{932};&
\node[fill=-green]{933};&
\node[fill=-red]{934};&
\node[left color=-blue,right color=green!50,middle color=-red!50]{935};\\
\node[left color=-red,right color=-green]{906};&
\node[fill=red]{907};&
\node[fill=-red]{908};&
\node[fill=-green]{909};&
\node[,upper left=-red,upper right=-blue,lower left=red!50,lower right=blue!50]{910};&
\node[fill=red]{911};&
\node[left color=-red,right color=-green,middle color=-green!50]{912};&
\node[fill=green!50]{913};&
\node[fill=-red]{914};&
\node[left color=-green,right color=-blue]{915};&
\node[fill=-red]{916};&
\node[fill=red!50]{917};&
\node[left color=-red,right color=-green,middle color=-red!50]{918};&
\node[fill=red]{919};&
\node[left color=-red,right color=-blue,middle color=-blue!50]{920};\\
\node[left color=-green,right color=green!50]{891};&
\node[fill=-red]{892};&
\node[left color=-green!50,right color=-red!20]{893};&
\node[left color=-red,right color=-green]{894};&
\node[fill=-blue]{895};&
\node[left color=-red,right color=red!50]{896};&
\node[left color=-green,right color=blue!50,middle color=-blue!50]{897};&
\node[fill=-red]{898};&
\node[left color=black!70,right color=black!25]{899};&
\node[left color=-red,right color=-green,middle color=-blue]{900};&
\node[left color=-red!50,right color=-green!20]{901};&
\node[left color=-red,right color=green!50,middle color=green!20]{902};&
\node[left color=-green,right color=red!50,middle color=blue!20]{903};&
\node[fill=-red]{904};&
\node[fill=-blue]{905};\\
\node[left color=-red,right color=-green]{876};&
\node[fill=red]{877};&
\node[fill=-red]{878};&
\node[fill=-green]{879};&
\node[left color=-red,right color=-blue,middle color=green!50]{880};&
\node[left color=red,right color=blue]{881};&
\node[left color=-red,right color=-green,middle color=red!50]{882};&
\node[left color=red,right color=blue]{883};&
\node[left color=-red,right color=blue!50,middle color=-red!50]{884};&
\node[left color=-green,right color=-blue]{885};&
\node[fill=-red]{886};&
\node[fill=red]{887};&
\node[left color=-red,right color=-green,middle color=red!20]{888};&
\node[fill=red!50]{889};&
\node[left color=-red,right color=-blue]{890};\\
\node[left color=-green,right color=red!50,middle color=green!20]{861};&
\node[fill=-red]{862};&
\node[fill=red]{863};&
\node[left color=-red,right color=-green]{864};&
\node[fill=-blue]{865};&
\node[fill=-red]{866};&
\node[left color=-green,right color=-red!50]{867};&
\node[left color=-red,right color=red!50,middle color=black!25]{868};&
\node[fill=green!50]{869};&
\node[,upper left=-red,upper right=-green,lower left=-blue,lower right=black!70]{870};&
\node[fill=blue!50]{871};&
\node[fill=-red]{872};&
\node[fill=-green]{873};&
\node[left color=-red,right color=-green!50,middle color=-blue!50]{874};&
\node[left color=-blue,right color=red!50]{875};\\
\node[left color=-red,right color=-green,middle color=-red!20]{846};&
\node[left color=red!50,right color=green!50]{847};&
\node[left color=-red,right color=-green!20]{848};&
\node[fill=-green]{849};&
\node[left color=-red,right color=-blue,middle color=-red!50]{850};&
\node[left color=-blue!50,right color=red!20]{851};&
\node[left color=-red,right color=-green]{852};&
\node[fill=red]{853};&
\node[left color=-red,right color=red!50]{854};&
\node[left color=-green,right color=-blue,middle color=-green!50]{855};&
\node[fill=-red]{856};&
\node[left color=red,right color=blue]{857};&
\node[,upper left=-red,upper right=-green,lower left=green!50,lower right=blue!50]{858};&
\node[left color=red,right color=blue]{859};&
\node[left color=-red,right color=-blue,middle color=blue!20]{860};\\
\node[fill=-green]{831};&
\node[left color=-red,right color=blue!50]{832};&
\node[left color=red!50,right color=-red!50]{833};&
\node[left color=-red,right color=-green]{834};&
\node[fill=-blue]{835};&
\node[left color=-red,right color=green!50,middle color=-green!50]{836};&
\node[left color=-green,right color=black!25]{837};&
\node[fill=-red]{838};&
\node[fill=red]{839};&
\node[,upper left=-red,upper right=-green,lower left=-blue,lower right=red!50]{840};&
\node[fill=black!70]{841};&
\node[fill=-red]{842};&
\node[fill=-green]{843};&
\node[fill=-red]{844};&
\node[left color=-blue,right color=blue!50]{845};\\
\node[left color=-red,right color=-green,middle color=-red!50]{816};&
\node[left color=-green!50,right color=blue!20]{817};&
\node[fill=-red]{818};&
\node[left color=-green,right color=red!50,middle color=blue!50]{819};&
\node[left color=-red,right color=-blue,middle color=green!20]{820};&
\node[left color=red,right color=blue]{821};&
\node[left color=-red,right color=-green]{822};&
\node[left color=red,right color=blue]{823};&
\node[fill=-red]{824};&
\node[left color=-green,right color=-blue,middle color=green!50]{825};&
\node[left color=-red,right color=red!50]{826};&
\node[left color=red,right color=blue]{827};&
\node[left color=-red,right color=-green,middle color=-blue!50]{828};&
\node[left color=red,right color=blue]{829};&
\node[left color=-red,right color=-blue]{830};\\
\node[fill=-green]{801};&
\node[fill=-red]{802};&
\node[fill=green!50]{803};&
\node[left color=-red,right color=-green]{804};&
\node[left color=-blue,right color=red!50,middle color=-blue!50]{805};&
\node[left color=-red,right color=blue!50,middle color=black!25]{806};&
\node[fill=-green]{807};&
\node[fill=-red]{808};&
\node[left color=red,right color=blue]{809};&
\node[left color=-red,right color=-green,middle color=-blue]{810};&
\node[left color=red,right color=blue]{811};&
\node[left color=-red,right color=red!50,middle color=black!70]{812};&
\node[fill=-green]{813};&
\node[left color=-red,right color=green!50,middle color=red!20]{814};&
\node[fill=-blue]{815};\\
};
\end{tikzpicture}
\end{preview}
\end{document}