From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: nested colors problem
Date: Fri, 20 Jan 2017 21:42:16 +0100 [thread overview]
Message-ID: <49805c4d-2f7e-469d-a04f-23d2b94996c1@gmx.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
Hi,
the nested color inherits the transparency from it's surrounding color.
\definecolor[colA] [r=0,g=0,b=0.01,t=0.2,a=1] % transparent
\definecolor[colB] [r=.278431,g=.235294,b=.545098] % opaque
\starttext
\startcolor[colA]
\definedfont[SansBold at 96bp]Titanfall\,
\startcolor[colB]2\stopcolor
\stopcolor
\stoptext
ConTeXt version: 2014.11.26 21:43
Maybe intended behaviour, maybe a bug. Donno.
Best wishes, Peter
[-- Attachment #2: color.mkiv --]
[-- Type: text/plain, Size: 264 bytes --]
\definecolor[colA] [r=0,g=0,b=0.01,t=0.2,a=1] % transparent
\definecolor[colB] [r=.278431,g=.235294,b=.545098] % opaque
\starttext
\startcolor[colA]
\definedfont[SansBold at 96bp]Titanfall\,
\startcolor[colB]2\stopcolor
\stopcolor
\stoptext
[-- Attachment #3: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2017-01-20 20:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 20:42 Peter Rolf [this message]
2017-01-20 20:54 ` Alan Braslau
2017-01-20 21:26 ` Peter Rolf
2017-01-20 22:12 ` Henning Hraban Ramm
2017-01-20 23:48 ` Peter Rolf
2017-01-21 10:11 ` Hans Hagen
2017-01-21 13:37 ` Peter Rolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49805c4d-2f7e-469d-a04f-23d2b94996c1@gmx.net \
--to=indiego@gmx.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).