Hi,

colors defined in gray values give a inverted output in MetaPost with
the \MPcolor macro.

The output in the text is fine and the red and cyan circles in the
MetaPost graphics are also correct but the gray circle has the value
s=0.1 and not s=.9 as defined in the colo-rgb file.

\setupcolors[state=start]

\starttext

\color[gray]{Gray}
\color[red]{Red}
\color[cyan]{Cyan}

\startMPpage
fill fullcircle scaled 4cm ;
fill fullcircle scaled 4cm shifted (5cm,0) withcolor \MPcolor{gray} ;
fill fullcircle scaled 4cm shifted (2*5cm,0) withcolor \MPcolor{red} ;
fill fullcircle scaled 4cm shifted (3*5cm,0) withcolor \MPcolor{cyan} ;
\stopMPpage

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to