% Generated by roxygen2: do not edit by hand % Please edit documentation in R/color.R \name{lighten_darken_color} \alias{lighten_darken_color} \alias{lighten_color} \alias{darken_color} \title{Generate lighter or darker version of a color} \usage{ lighten_color(color_hex, strength = 0.7) darken_color(color_hex, strength = 0.8) } \arguments{ \item{color_hex}{A character string representing a hex color} \item{strength}{The "strength" of the blend with white or black, where 0 is entirely the original color and 1 is entirely white (\code{lighten_color()}) or black (\code{darken_color()}).} } \description{ Produces a linear blend of the color with white or black. }