powered by
Generates transparent colors
transpColor(color, percent = 50)
A character string with hex color, including adjustment for transparency.
character
Anything that can be interpreted by rgb as a color.
rgb
A whole number between 0 and 100 specifying how transparent the color should be.
transpColor(color = "red", percent = 50)
Run the code above in your browser using DataLab