README.md

schoolcolors

CRAN
status pkgdown build
status

The goal of schoolcolors is to provide palettes for all possible NCAA schools. It is built very heavily upon the structure laid out in the wesanderson package.

WIP

This is still a Work In Progress. You can’t currently install from CRAN, and the dev version has only a structure. There are many NCAA schools and we would love any help that you can for populating the colors for schools.

The method for populating a school is as follows:

  1. Find School Colors:
    • Search for a school name and color palette. This generally leads to a brand site or pdf for that school.
    • Only if there is no branding or web usage site, pull colors from TruColor
      • The current Institutional Colors should be used.
  2. Populate Colors:
    • Find the line with the school_name and populate the vector with the Primary Colors.
    • If there are any additional colors, put them on a new vector in the list and order them according to secondary, tertiary, accent, supporting, etc.

Example: College of William and Mary

Installation

You can install the development version from GitHub by doing the following:

# install.packages("remotes")
remotes::install_github("dermcnor/schoolcolors")

You can install the released version of schoolcolors from CRAN with:

install.packages("schoolcolors")

Example

This is a basic example which shows you how to use a palette for a school.

library(schoolcolors)
## basic example code
my_pal <- school_palette("college_of_william_and_mary")
as.character(my_pal)
#>  [1] "#115740" "#B9975B" "#F0B323" "#D0D3D4" "#00B388" "#CAB64B" "#84344E"
#>  [8] "#64CCC9" "#E56A54" "#789D4A" "#789F90" "#5B6770" "#183028" "#00313C"
my_pal



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