This is often useful within a glue::glue function for a graph title or subtitle.

ku_color_text(color_name, text, ...)

Arguments

color_name

character, valid KU color

text

character, text to color

...

passed to color_text

Value

character, HTML-span-wrapped version of text styled according to KU color color_name (and weight)

Examples

ku_color_text("Crimson", "predicted")
#> <span style="color: #e8000d; font-weight: bold;">predicted</span>