ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Floris van Manen <vm@klankschap.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: color check
Date: Thu, 6 Dec 2018 10:55:19 +0100	[thread overview]
Message-ID: <9A12627A-B77C-4FE1-9DE4-A10DBE4015B4@klankschap.nl> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 908 bytes --]

while experimenting with the sample transparency color code


\definecolor [transparentred]  [r=1,t=.5,a=1]
\definecolor [transparentblue] [b=1,t=.5,a=1]
\definecolor [solidyellow]  [y=1,t=1,a=1]

\starttext

\startTEXpage
~This is some sample text that goes behind the rectangles\hskip-80mm
\blackrule[width=18mm,height=10mm,depth=10mm,color=solidyellow]\hskip-6mm
\blackrule[width=18mm,height=20mm,depth=1mm,color=transparentred]\hskip-6mm
\blackrule[width=18mm,height=10mm,depth=10mm,color=transparentblue]\hskip-6mm
\blackrule[width=18mm,height=20mm,depth=1mm,color=solidyellow]\hskip27mm
\stopTEXpage

\stoptext



i get the intended result.



if i change the yellow t value to .99
\definecolor [solidyellow]  [y=1,t=0.99,a=1]
some green layer pops up.



as this is all about software, there is a reason to this.
it cold be the OSX preview program too, of course.
can someone explain to me ?
:-)

.F


[-- Attachment #1.1.2.1: Type: text/html, Size: 2272 bytes --]

[-- Attachment #1.1.2.2: Screen Shot 2018-12-06 at 10.53.21.PNG --]
[-- Type: image/png, Size: 8414 bytes --]

[-- Attachment #1.1.2.3: Screen Shot 2018-12-06 at 10.48.56.PNG --]
[-- Type: image/png, Size: 10306 bytes --]

[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: 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
___________________________________________________________________________________

             reply	other threads:[~2018-12-06  9:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06  9:55 Floris van Manen [this message]
2018-12-06 10:02 ` Taco Hoekwater
2018-12-06 10:12   ` Floris van Manen
2018-12-06 10:09 ` Pablo Rodriguez
2018-12-06 10:12 ` luigi scarso
2018-12-06 12:33   ` Floris van Manen

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=9A12627A-B77C-4FE1-9DE4-A10DBE4015B4@klankschap.nl \
    --to=vm@klankschap.nl \
    --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).