Skip to content

How can I create transparant colour

2 messages · Dr. Alireza Zolfaghari, Brian Ripley

#
Well, if it is transparent then you will not see it: I presume you mean 
translucent (aka semi-transparent).  With 50% opacity you could use

red <- rgb(0x9E, 0x47, 0x70, 127, max=255)
polygon(xvalue1,yvalue1,col=red,border=red)

See ?rgb.

You can also specify a translucent colour as e.g. "#9E47707F", but that 
seems less intuitive.
On Thu, 4 Dec 2008, Dr. Alireza Zolfaghari wrote: