On Wednesday 01 December 2010 13:58:23 Hans Hagen wrote:
I could probably support
\definecolor[xxx][0.5(red,green)] \definecolor[xxx][0.5(red)]
which looks better than this ! and is less likely to conflict with names as abc! is a rather value color name.
Indeed, a favorite color is "surprisepink!" \definecolor [roscolux51] [h=aaacd5] % Touch of color when white light is not desirable. \definecolor [surprisepink!] [roscolux51] The TiKz syntax "red!50!green" is short, sweet and rather strange. But the question remains on how to support full TiKz use under ConTeXt. In Metapost, we have 0.5[red,green] (does this work with colors?). Would \definecolor[xxx][0.5[red,green]] be a better alternative? Is such a syntax possible? Would this be readable? The next step would be to allow \color[0.5[red,green]] (or \color[0.5(red,green)]), i.e. such syntax wherever a color can be used. Alan