powered by
Add transparency to colors
add_transparency(col, transparency = 0)
a vector of colors
transparency, numeric value between 0 and 1
A vector of colors
# NOT RUN { add_transparency("red", 0.5) add_transparency(1, 0.5) add_transparency("#FF000080", 0.2) # }
Run the code above in your browser using DataLab