powered by
Tints an RBG color
col.tint(col, tint = 0.5)
a vector of RGB color(s)
numeric value between 0 and 1. Zero results in white and 1 means no change
Claus Ekstrom claus@rprimer.dk
This function tints an RGB color and returns the tinted RGB color (with alpha channel added)
Ekstrom, CT (2011) The R Primer.
newcol <- col.tint("blue")
Run the code above in your browser using DataLab