On Fri, 26 Jul 2019 08:27:07 +0000
"Röver, Christian" <christian.roe...@med.uni-goettingen.de> wrote:

> The apparently buggy version in this case seems to return white
> instead of red.

I think it's red, but fully transparent. Alpha follows the same rules
as red, green and blue components; it is expected to be in range [0;
maxColorValue]. rgb(255, 128, 128, alpha=128, maxColorValue=255) should
give you the expected result.

-- 
Best regards,
Ivan

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to