\setupcolors[state=stop]

\startMPpage
  linear_shade(unitsquare xyscaled 5cm,0,red,green);
\stopMPpage

