omni_colors() enables you to pull colors directly from the OMNI palette. Choose one of the following options: Gray, Medium Gray, Dark Gray, Dark Blue, Medium Blue, Light Blue, Teal, Orange, or Tan. You'll use this function as follows: omni_colors("Dark Blue") returns the hex value of the OMNI Dark Blue.
Usage
omni_colors(
colors_sub = c("Dark Blue", "Medium Blue", "Light Blue", "Teal", "Orange", "Tan"),
variations_sub = "0",
named = FALSE
)
Examples
omni_colors(c("Dark Blue", "Light Blue"))
#> [1] "#314160" "#779aab"