oy_cols: Transport for London Colours

Description Usage Arguments Details Value Examples

View source: R/viz.R

Description

A named vector of hexadecimal colour values from Transport for London's colour standard. Includes corporate, mode-specific and safety colours, as well as London Underground line colours.

Usage

1

Arguments

...

Provide either the names or indices of colours in the vector (see details).

Details

An empty call returns the whole vector. The colour names are as follows:

Value

A named vector object.

Examples

1
2
3
oy_cols()  # return full named vector
oy_cols("oyster_blue", "oyster_cyan")  # return named values
oy_cols(1:5)  # return first five elements

matt-dray/oystr documentation built on Jan. 20, 2021, 6:43 a.m.