[NTG-context] playing colors

Hans van der Meer H.vanderMeer at uva.nl
Tue Mar 1 14:37:39 CET 2011


Started for myself some learning on colors in ConTeXt. In the manual there is a nice colorpalette shown (section 6, page 141). However, I cannot reproduce this. The following minimal example shows colored texts, but \showcolor[color-name] just produces black boxes with ominous zeroes behind it.
What am I missing here? The wiki didn't procure more information then the manual.

Hans van der Meer

\setuppapersize[A5][A5]
\switchtobodyfont[20pt]
\starttext
\color[red]{hello} \quad
\color[green]{hello} \quad
\color[cyan]{hello} \quad
\showcolor[red]
\showcolor[green]
\showcolor[cyan]
\stoptext

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 5217 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110301/bc67fb8d/attachment.pdf>
-------------- next part --------------




More information about the ntg-context mailing list