Nothing
## York University.R | 2023 09 23
## Colors of York University, Canada
## ---------------------------------
# Information: ------
# cur_pals: "yorku_1","yorku_2" (1)
# inst: "York University" (in English)
# inst_alt: "York University"
# country: Canada
# URL: "https://www.yorku.ca"
# Color source:
# URL: <https://www.yorku.ca/brand/>
# Last check: 2023-06-24
# Colors: ------
# Color palette(s):
# - yorku_1: Primary colors of York University ------
#' Primary colors of the York University, Canada
#'
#' \code{yorku_1} provides the three primary colors
#' of the \href{https://www.yorku.ca}{York University}, Canada.
#'
#' The 3 primary colors are
#' \code{"York red"} (defined as RGB 227/24/55, HEX #E31837),
#' \code{"white"} (defined as RGB 255/255/255, HEX #FFFFFF), and
#' \code{"black"} (defined as RGB 0/0/0, HEX #000000).
#'
#' \code{yorku_1} uses the HEX color definitions.
#'
#' @return
#' A named vector of colors (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-24.
#'
#' @source
#' Color definitions are based on \href{https://www.yorku.ca}{York}'s
#' \href{https://www.yorku.ca/brand/}{Brand standards} (PDF).
#'
#' @examples
#' yorku_1
#' unikn::seecol(yorku_1, col_bg = "grey90",
#' main = "The primary colors of York University, CA") # view palette
#'
#' @family Canadian university color palettes
#'
#' @seealso
#' \code{\link{seecol}} for viewing and comparing color palettes;
#' \code{\link{usecol}} for using color palettes;
#' \code{\link{simcol}} for finding similar colors;
#' \code{\link{newpal}} for defining new color palettes;
#' \code{\link{grepal}} for finding named colors.
#'
#' @export
yorku_1 <- unikn::newpal(col = c("#E31837", "#FFFFFF", "#000000"),
names = c("York red", "white", "black"),
as_df = FALSE)
# - yorku_2: Secondary colors of York University ------
#' Secondary colors of the York University, Canada
#'
#' \code{yorku_2} provides eight secondary colors
#' of the \href{https://www.yorku.ca}{York University}, Canada.
#'
#' The 8 secondary colors are:
#' \code{"York red medium"} (defined as RGB 175/13/26, HEX #AF0D1A),
#' \code{"York red dark"} (defined as RGB 129/0/1, HEX #810001),
#' \code{"York bright blue"} (defined as RGB 58/194/239, HEX #3AC2EF),
#' \code{"York light blue"} (defined as RGB 172/230/248, HEX #ACE6F8),
#' \code{"York light grey"} (defined as RGB 225/223/220, HEX #E1DFDC),
#' \code{"York pewter"} (defined as RGB 214/207/202, HEX #D6CFCA),
#' \code{"York grey medium"} (defined as RGB 183/174/169, HEX #B7AEA9), and
#' \code{"York grey dark"} (defined as RGB 104/98/96, HEX #686260).
#'
#' \code{yorku_2} uses the HEX color definitions.
#'
#' @return
#' A named vector of colors (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-24.
#'
#' @source
#' Color definitions are based on \href{https://www.yorku.ca}{York}'s
#' \href{https://www.yorku.ca/brand/}{Brand standards} (PDF).
#'
#' @examples
#' yorku_2
#' unikn::seecol(yorku_2, main = "Secondary colors of York University, CA") # view palette
#'
#' @family Canadian university color palettes
#'
#' @seealso
#' \code{\link{seecol}} for viewing and comparing color palettes;
#' \code{\link{usecol}} for using color palettes;
#' \code{\link{simcol}} for finding similar colors;
#' \code{\link{newpal}} for defining new color palettes;
#' \code{\link{grepal}} for finding named colors.
#'
#' @export
yorku_2 <- unikn::newpal(col = c("#AF0D1A", "#810001", "#3AC2EF", "#ACE6F8",
"#E1DFDC", "#D6CFCA", "#B7AEA9", "#686260"),
names = c("York red medium", "York red dark", "bright blue", "York light blue",
"York light grey", "York pewter", "York grey medium", "York grey dark"),
as_df = FALSE)
# # Check:
# unikn::seecol(yorku_1, main = "Primary colors of the York University", col_bg = "lightgrey")
# unikn::seecol(yorku_2, main = "Secondary colors of the York University", col_bg = "white")
## ToDo: --------
# - etc.
## eof. ----------
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.