powered by
ColToHex(col, alpha = 1)
ColToHex(c("lightblue", "salmon")) x <- ColToRgb("darkmagenta") x[2,] <- x[2,] + 155 RgbToCol(x)
Run the code above in your browser using DataLab