opmi_cols: OPMI Colors

View source: R/colors.R

opmi_colsR Documentation

OPMI Colors

Description

A function to provide hex values for colors in the OPMI color palette or colors of MBTA services.

Usage

opmi_cols(...)

Arguments

...

One or multiple colors from the OPMI color palette ("orange", "petrolblue", "coralred", "seafoam", "skyblue", "deeppurple", "cream", "midgrey", or "khaki"), MassDOT color palette ("dotprimary", "dotsecondary", or "dottertiary"), or MBTA color scheme ("rl", "ol", "gl", "bl", "bus", "ferry", "cr", "sl", "ride", or "subway"). If no colors are provided, the entire list of colors will be returned.

Value

One or multiple color hex values

Examples

opmi_cols()
opmi_cols("coralred")
opmi_cols("rl", "ol")

kmeakinmbta/opmitools documentation built on Oct. 25, 2023, 10:34 a.m.