On 13-5-2010 7:13, Marco wrote:
I wonder how transparency works in ConTeXt. I expect in the
following example the text to be transparent. That's not the case.
\definecolor [myI] [r=1, g=.9, b=.7, a=.8]
\definecolor [myII] [r=0, g=.9, b=0, a=.8]
t=.5, a=1 (a is the method)
Oh! I assumed »a« stands for »alpha«. Thanks, Hans. Works as expected
now.
r = red channel
g = green channel
b = blue channel
c = cyan channel
m = magenta channel
y = yellow channel
k = black channel
h = hue or hexadecimal
s = saturation
v = value (or so)
h = hex (i'll add x for hex as well)
a = alternative
t = transparency factor
s = gray value
p = spotcolor percentage
e = spotcolorname
<name 1> = duotone 1
<name 2> = duotone 2
that's about it
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________