Changes

Jump to navigation Jump to search
250 bytes added ,  17:04, 25 November 2004
m
added hints to colorgroups, minor changes
< [[Visuals]] | [[Transparency]] | [[Graphics]] > ==Using Colors===
Using colors with ConTeXt is easy:
* Start with <cmd>setupcolors</cmd><tt>[state=start]</tt>. Without that, everything appears in greys.
* If you want only RGB or only CMYK color, use <tt>cmyk=no</tt> or <tt>rgb=no</tt>. It seems there are also spot and hexachrome colors possible, but I don't know yet how.
* Normally all colors are defined in RGB *''and* '' CMYK and get converted if needed.
* You find lists of predefined colors in the files <tt>colo-xxx.tex</tt>, load them with <cmd>setupcolor</cmd><tt>[xxx]</tt>:
** rgb: some simple colors, loaded by default (with translations for the different interface languages!)
Here's some \color[blablue]{blue text} inbetween!
 
\showcolor[pra]
</texcode>
<context>
Here's some \color[blablue]{blue text} inbetween!
 
\showcolor[pra]
</context>
==Colorgroups (and Palettes)==<cmd>definecolorgroup</cmd><tt>[name][system][values]</tt> <cmd>definepalet</cmd><tt>[palettename][colorname1=groupcolor:1, colorname2=groupcolor:2, ...]</tt> Very interesting feature, to be described later...(see manual)

Navigation menu