Displaying 1 result from an estimated 1 matches for "rgb7".
Did you mean:
rgb
2011 Aug 09
1
Transparent color ramp problem
...re vibrant colours.
My most recent attempt at doing this involved generating multiple rgb colours with transparency (alpha = 0.5) and then combining these colours using colorRampPalette(). I am able to use the resulting colour ramp, but it has no transparency.
# Make terrain colour ramp
rgb7 <- rgb(red=0, green=255, blue=77, alpha = 0.5, maxColorValue = 255)
rgb8 <- rgb(red=26, green=255, blue=0, alpha = 0.5, maxColorValue = 255)
rgb9 <- rgb(red=128, green=255, blue=0, alpha = 0.5, maxColorValue = 255)
rgb10 <- rgb(red=230, green=255, blue=0, alpha = 0.5,...