R/table_style.R
tint_color.Rd
Apply tint to a provided color
tint_color(x, tint)
either a color name (as listed by colors()), a hexadecimal string
the percentage to tint the color. Must be a value between 0 and 1
A hexadecimal color string representing the tinted color.
tint_color("blue", tint = .5) #> [1] "#7F7FFF" tint_color("#0000FF", tint = .5) #> [1] "#7F7FFF"