ConTeXt: How to make color derivation acts like LaTeX xcolor package

a bit digging on the context mailing list excavated this syntax which seems to do color mixing. But the exact rules are a bit unclear and it would probably be a good idea to ask on the context mailing list if this syntax is still supported and where it is documentated:


\definecolor[ColorA] [1.0(red)]
\definecolor[myred02][0.8(ColorA,white)] % 

\framed[background=color, backgroundcolor=myred02]
        {\color[white]{red!20} }

enter image description here

From the ConTeXt color manual: you can use



\framed[background=color, backgroundcolor=pgfcolora]
        {\color[white]{red!20} }