school_palette: A School Palette Generator

Description Usage Arguments Value

View source: R/school_palettes.R

Description

These are the color palettes from NCAA schools.

Usage

1
2
3
4
5
6
school_palette(
  name,
  n,
  type = c("all", "primary", "secondary"),
  scale = c("discrete", "continuous")
)

Arguments

name

Name of desired palette.

n

Number of colors desired. Many schools only have only a handful of colors. If omitted, uses all colors.

type

One of "all", "primary", or "secondary". "all" will return all possible colors, "primary" will return just the main colors for a school, and "secondary" will return all other available colors other than "primary".

scale

Either "discrete" or "continuous". Use continuous if you want to automatically interpolate between colors.

Value

A vector of colors.


dermcnor/schoolcolors documentation built on June 10, 2020, 8:03 a.m.