-
Notifications
You must be signed in to change notification settings - Fork 12
/
Aarhus.R
223 lines (194 loc) · 5.19 KB
/
Aarhus.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
## Aarhus.R | 2023 10 14
## Colours of Aarhus University, Denmark
## -------------------------------------
# Information: ------
# cur_pals: "aarhus" (1)
# inst: "Aarhus University"
# inst_alt: "Aarhus Universitet / AU"
# inst_URL: <https://www.au.dk> OR <https://international.au.dk>
# location: Aarhus, Denmark / DK
# Color source:
# color_URL: Design guidelines at
# <https://medarbejdere.au.dk/en/administration/communication/guidelines/guidelinesforcolours>
# Last check: 2023-10-14
# Author information:
# unicol, 2023-10-14
# Colors: ------
# Color definitions:
# From <https://medarbejdere.au.dk/en/administration/communication/guidelines/guidelinesforcolours>
# Primary and secondary colours
#
# Aarhus University's primary identity colour is AU-blue (Pantone 287).
#
# There are also a number of bright secondary colours which ensure greater variation in the daily work with the design line.
#
# The creative scope is further widened by the possibility of mixing the AU-blue colour and the secondary colours with 75% black for more discreet and classic colours.
# Colour codes
#
# Farverum settings (Europe General Purpose 2)
# RGB: sRGB IEC61966-2.1
# CMYK: Coated FOGRAF27 (ISO 12647-2:2004)
#
# Blå - Pantone 287 EC
# CMYK: 100/80/0/15
# RGB: 0/61/115
# HEX "#003d73"
#
# # Check:
# # aa_c_01 <- rgb(0, 61, 115, maxColorValue = 255)
# # unikn::seecol(aa_c_01)
#
# Blå (mørk) - Pantone 289 EC
# CMYK: 100/80/0/75
# RGB: 0/37/70
# HEX "#002546"
#
# Lilla - Pantone 2665 EC
# CMYK: 70/70/0/0
# RGB: 101/90/159
# HEX "#655a9f"
#
# Lilla (mørk) - Pantone 5265 EC
# CMYK: 70/70/0/75
# RGB: 40/28/65
# HEX "#281c41"
#
# Cyan - Pantone Process Cyan EC
# CMYK: 100/0/0/0
# RGB: 55/160/203
# HEX "#37a0cb"
#
# Cyan (mørk) - Pantone 3025 EC
# CMYK: 100/0/0/75
# RGB: 0/62/92
# HEX "#003e5c"
#
# Turkis - Pantone 326 EC
# CMYK: 80/0/40/0
# RGB: 0/171/164
# HEX "#00aba4"
#
# Turkis (mørk) - Pantone 567 EC
# CMYK: 80/0/40/75
# RGB: 0/69/67
# HEX "#004543"
#
# Grøn - Pantone 376 EC
# CMYK: 60/0/100/0
# RGB: 139/173/63
# HEX "#8bad3f"
#
# Grøn (mørk) - Pantone 574 EC
# CMYK: 60/0/100/75
# RGB: 66/88/33
# HEX "#425821"
#
# Gul - Pantone 7408 EC
# CMYK: 0/30/100/0
# RGB: 250/187/0
# HEX "#fabb00"
#
# Gul (mørk) - Pantone 455 EC
# CMYK: 0/30/100/75
# RGB: 99/75/3
# HEX "#634b03"
#
# Orange - Pantone 144 EC
# CMYK: 0/60/100/0
# RGB: 238/127/0
# HEX "#ee7f00"
#
# Orange (mørk) - Pantone 463 EC
# CMYK: 0/60/100/75
# RGB: 95/52/8
# HEX "#5f3408"
#
# Rød - Pantone 485 EC
# CMYK: 0/100/100/0
# RGB: 226/0/26
# HEX "#e2001a"
#
# Rød (mørk) - Pantone 490 EC
# CMYK: 0/100/100/75
# RGB: 91/12/12
# HEX "#5b0c0c"
#
# Magenta - Pantone Process Magenta EC
# CMYK: 0/100/0/0
# RGB: 226/0/122
# HEX "#e2007a"
#
# Magenta (mørk) - Pantone 229 EC
# CMYK: 0/100/0/75
# RGB: 95/0/48
# HEX "#5f0030"
#
# Grå - Pantone Cool Gray 7 EC
# CMYK: 0/0/0/60
# RGB: 135/135/135
# HEX "#878787"
#
# Grå (mørk) - Pantone 11 C
# CMYK: 0/0/0/85
# RGB: 75/75/74
# HEX "#4b4b4a"
aa_cols <- c("#003d73", "#002546", "#655a9f", "#281c41", "#37a0cb", "#003e5c",
"#00aba4", "#004543", "#8bad3f", "#425821", "#fabb00", "#634b03",
"#ee7f00", "#5f3408", "#e2001a", "#5b0c0c", "#e2007a", "#5f0030",
"#878787", "#4b4b4a"
)
aa_nams <- rep(c("Blue", "Lila", "Cyan", "Turkis", "Green", "Gold", "Orange", "Red", "Magenta", "Grey"), each = 2)
aa_nams <- paste0(aa_nams, c("", " dark"))
aa_nams[1] <- "AU blue"
# Color palette(s):
# - aarhus: Colours of Aarhus ------
#' The colours of Aarhus University, Denmark
#'
#' \code{aarhus} provides the colours
#' of \href{https://www.au.dk}{Aarhus University}, Denmark.
#'
#' Aarhus University's primary identity colour is
#' \code{AU blue}, defined as Pantone 287 EC, CMYK 100 80 0 15, RGB 0 61 115, or HEX "#003d73".
#'
#' There are also a number of bright secondary colours
#' which ensure greater variation in the daily work with the design line.
#'
#' The creative scope is further widened by the possibility of mixing
#' \code{AU blue} and the secondary colours with 75\% black for darker,
#' more discreet and classic colour tints.
#'
#' \code{aarhus} uses the HEX color definitions.
#'
#' @return
#' A named vector of colors (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-10-14.
#'
#' @source
#' Color definitions are based on
#' \href{https://www.au.dk}{AU}'s
#' \href{https://medarbejdere.au.dk/en/administration/communication/guidelines/guidelinesforcolours}{design guidelines} (HTML).
#'
#' @examples
#' aarhus
#' unikn::seecol(aarhus, main = "The colours of Aarhus University, Denmark") # view color palette
#'
#' @family Danish 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
aarhus <- unikn::newpal(col = aa_cols,
names = aa_nams,
as_df = FALSE)
# # Check:
# unikn::seecol(aarhus, main = "The colours of Aarhus University, Denmark", col_bg = "grey90")
## ToDo: --------
# - etc.
## eof. ----------