I\'ve had this a few times, so here goes: I\'m making some plots which hold curves with estimates of a parameter given a tuning parameter.
Typically, I also have SDs
Converting valuable comment to answer:
Use alpha from package scales - first argument is colour, second alpha (in 0-1 range).
Or write function overt it:
makeTransparent <- function(someColor, alpha=100) scales::alpha(someColor, alpha/100)