ucsf_col: Function to extract official UCSF colors as hex codes.

Description Usage Arguments Examples

Description

Executing this function without any arguments provides a listing of color names and their associated hex codes. These colors are based on the UCSF Identity Guidelines, available at https://identity.ucsf.edu/brand-guide/print-colors and https://identity.ucsf.edu/brand-guide/digital-colors. The base colors are named navy, teal, green, blue, orange. Accent colors are purple, red, yellow. Each color has 3 lighter tints, a 70%, 40%, and 10% tint of the main color. These are names based on the main color, appended with a 3, 2, or 1, respectively. For example, full strength is called "blue", the 70% tint is "blue3", the 40% tint is "blue2", and the 10% tint is "blue1"

Usage

1

Arguments

...

Character names of UCSF color.

Examples

1
2
3
4
5
6
7
8
9
ucsf_col("navy")
ucsf_col("teal")
ucsf_col("green")
ucsf_col("blue")
ucsf_col("orange")
ucsf_col("red")
ucsf_col("purple")
ucsf_col("yellow")
ucsf_col("red3")

anobel/ucsftheme documentation built on May 15, 2019, 10 p.m.