Skip to contents

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
)

Arguments

colors_sub

color or colors you want to return - vector

variations_sub

Variation, default to 0 - vector

named

Snould the output be named ? FALSE by default

Value

A color vector

Examples

omni_colors(c("Dark Blue", "Light Blue"))
#> [1] "#314160" "#779aab"