![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
On 1 mars 2011, at 16:25, Wolfgang Schuster wrote:
Am 01.03.2011 um 14:37 schrieb Hans van der Meer:
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.
The command is used to show all the defined colors in a colo-xxx.(mkii|mkiv) file, e.g.
\starttext \showcolor[rgb] \stoptext
Wolfgang
Hi Hans, Indeed as Wolfgang points out, in the file colo-ini.mkii it is said that: %D But let's not forget that we also have the more traditional %D non||related colors. These show up after: %D %D \starttyping %D \showcolor [name] %D \stoptyping %D %D Where \type{name} for instance can be \type{rgb}. Actually « name » can be also xwi or pra. There another command is also given, \showcolorgroup, for showing colors such as in: \showcolorgroup [red] [vertical,name,number] or \showcolorgroup [red] And the following can be used to see the setups: \showsetups{showcolor} (Actually in the source there is a mistyping « \showsetup » instead of « \showsetups »). Best regards: OK