R/palettes.R
get_text_color.Rd
Title
get_text_color(background_rgb, t = 0.5)
A hex color string (e.g. "#FFFFFF")
A threshold value between 0 and 1 to determine the text color