Changes

Jump to navigation Jump to search
1,001 bytes added ,  22:55, 28 December 2004
added multitone 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 Multitone colors see below. Perhaps that covers spot colors and hexachrome colors possible, but I don't know yet howalso.
* 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>:
Very interesting feature, to be described later... (see manual)
 
=Multitones=
 
Hans wrote on the mailinglist on 2004-12-27 about handling of multitone colors:
 
Currently it's done by pdftools.rb
 
Once pdfxTeX becomes pdfeTeX out of a sudden your beta can do it as well.
 
I still need to figure out a way to automatically reverse the graphic, but one of these days you can start using it.
 
Actually, multitones for text already work out of the box:
<texcode>
\setupcolors[state=start]
 
\definecolor [blue] [c=1,m=.38,y=0,k=.64]
\definecolor [yellow] [c=0,m=.28,y=1,k=.06]
 
\definecolor [blue-100] [blue] [p=1]
\definecolor [yellow-100] [yellow] [p=1]
 
\definemultitonecolor [combicolor] [blue=.12,yellow=.28] [c=.1,m=.1,y=.3,k=.1]
 
\starttext
 
\startcolor[blue]\blackrule[width=3cm,height=3cm]\stopcolor
 
\startcolor[yellow]\blackrule[width=3cm,height=3cm]\stopcolor
 
\startcolor[combicolor]\blackrule[width=3cm,height=3cm]\stopcolor
 
\stoptext
</texcode>
(The CMYK color spec is the fall back color used on screen; one can preview separations in full Acrobat 7.)

Navigation menu