powered by
Convert a color to RGB and then to RGB with alpha transparency
colwalpha(color, alpha = 1)
A character string representing a color
A character string for a color
Traparency value (between 0 and 1)
colwalpha(c("blue", "red"), 0.5)
Run the code above in your browser using DataLab