-
Notifications
You must be signed in to change notification settings - Fork 12
/
Oxford.R
789 lines (708 loc) · 26.7 KB
/
Oxford.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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
## Oxford.R | 2023 08 24
## Colours of University of Oxford, England/UK
## -------------------------------------------
# Information: ------
# cur_pals: "oxford_brand", "oxford_general", "oxford_link", "oxford_shades", "oxford_blog", "oxford_graduate", "oxford_error", "oxford_socialmedia" (8)
# inst: "Oxford University"
# inst_alt: "University of Oxford"
# country: England/UK
# URL: "https://www.ox.ac.uk/"
# Colour source:
# URL: <https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide>
# Last check: 2023-06-15
# Colours: ------
# Brand colours:
#
# Primary: #002147
col_brand_1 <- "#002147"
name_brand_1 <- "primary"
#
# Secondary: #a79d96
col_brand_2 <- "#a79d96"
name_brand_2 <- "secondary"
#
# Tertiary: #f3f1ee
col_brand_3 <- "#f3f1ee"
name_brand_3 <- "tertiary"
#
# Light Primary: #122f53
col_brand_4 <- "#122f53"
name_brand_4 <- "light_primary"
# General/secondary colours:
#
# Dark Blue: #001c3d
col_general_1 <- "#001c3d"
name_general_1 <- "dark_blue"
#
# Washed out blue: #193658
col_general_2 <- "#193658"
name_general_2 <- "washed_out_blue"
#
# Copyright Grey: #c7c2bc
col_general_3 <- "#c7c2bc"
name_general_3 <- "copyright_grey"
#
# Beige grey: #f3f1ec
col_general_4 <- "#f3f1ec"
name_general_4 <- "beige_grey"
#
# Brown grey: #001c3d
col_general_5 <- "#001c3d"
name_general_5 <- "brown_grey"
#
# Filter form green: #043946
col_general_6 <- "#043946"
name_general_6 <- "filter_form_green"
#
# Blue grey: #a1c4d0
col_general_7 <- "#a1c4d0"
name_general_7 <- "blue_grey"
#
# Teal: #003947
col_general_8 <- "#003947"
name_general_8 <- "teal"
#
# Very light blue: #f0f5f8
col_general_9 <- "#f0f5f8"
name_general_9 <- "very_light_blue"
#
# Cookie bar: #00152e
col_general_10 <- "#00152e"
name_general_10 <- "cookie_bar"
#
# Blue grey: #353c47
col_general_11 <- "#353c47"
name_general_11 <- "blue_grey"
# Link colours:
#
# Link: #3277ae
col_link_1 <- "#3277ae"
name_link_1 <- "link"
#
# Link Hover: #44687d
col_link_2 <- "#44687d"
name_link_2 <- "link_hover"
#
# Alt Link Hover: #be0f34
col_link_3 <- "#be0f34"
name_link_3 <- "alt_link_hover"
#
# Link Header: #70a9d6
col_link_4 <- "#70a9d6"
name_link_4 <- "link_header"
#
# Link Overlay: #98c1e1
col_link_5 <- "#98c1e1"
name_link_5 <- "link_overlay"
# Shades:
#
# Black: #000000
col_shades_1 <- "#000000"
name_shades_1 <- "black"
#
# Off Black: #333333
col_shades_2 <- "#333333"
name_shades_2 <- "off_black"
#
# Mid Grey: #7a736e
col_shades_3 <- "#7a736e"
name_shades_3 <- "mid_grey"
#
# Dark Grey: #a6a6a6
col_shades_4 <- "#a6a6a6"
name_shades_4 <- "dark_grey"
#
# Light Grey: #e0ded9
col_shades_5 <- "#e0ded9"
name_shades_5 <- "light_grey"
#
# Light Grey: #f9f8f5
col_shades_6 <- "#f9f8f5"
name_shades_6 <- "light_grey"
#
# White: #ffffff
col_shades_7 <- "#ffffff"
name_shades_7 <- "white"
# Custom blog colours:
#
# Science Blog: #0f7361
col_blog_1 <- "#0f7361"
name_blog_1 <- "science_blog"
#
# Science blog button: #09332b
col_blog_2 <- "#09332b"
name_blog_2 <- "science_blog_button"
#
# Arts Blog: #721627
col_blog_3 <- "#721627"
name_blog_3 <- "arts_blog"
#
# Arts blog button: #330d14
col_blog_4 <- "#330d14"
name_blog_4 <- "arts_blog_button"
#
# Books Blog: #cf7a30
col_blog_5 <- "#cf7a30"
name_blog_5 <- "books_blog"
#
# Books blog button: #9c4700
col_blog_6 <- "#9c4700"
name_blog_6 <- "books_blog_button"
# Graduate Country page colours:
#
# Graduate light blue: #9eceeb
col_graduate_1 <- "#9eceeb"
name_graduate_1 <- "graduate_light_blue"
#
# Graduate blue: #5f9baf
col_graduate_2 <- "#5f9baf"
name_graduate_2 <- "graduate_blue"
#
# Graduate Navy blue: #44687d
col_graduate_3 <- "#44687d"
name_graduate_3 <- "graduate_navy_blue"
#
# Graduate grey blue: #a1c4d0
col_graduate_4 <- "#a1c4d0"
name_graduate_4 <- "graduate_grey_blue"
#
# Graduate dark green: #69913b
col_graduate_5 <- "#69913b"
name_graduate_5 <- "graduate_dark_green"
#
# Graduate light green: #aab300
col_graduate_6 <- "#aab300"
name_graduate_6 <- "graduate_light_green"
#
# Graduate orange: #cf7a30
col_graduate_7 <- "#cf7a30"
name_graduate_7 <- "graduate_orange"
#
# Graduate yellow: #f5cf47
col_graduate_8 <- "#f5cf47"
name_graduate_8 <- "graduate_yellow"
#
# Graduate dark red: #872434
col_graduate_9 <- "#872434"
name_graduate_9 <- "graduate_dark_red"
#
# Graduate red: #be0f34
col_graduate_10 <- "#be0f34"
name_graduate_10 <- "graduate_red"
#
# Graduate pink #ebc4cb
col_graduate_11 <- "#ebc4cb"
name_graduate_11 <- "graduate_pink"
#
# Graduate grey: #a79d96
col_graduate_12 <- "#a79d96"
name_graduate_12 <- "graduate_grey"
# Error colours:
#
# Status: #7dbc23
col_error_1 <- "#7dbc23"
name_error_1 <- "status"
#
# Warning: #bc9a23
col_error_2 <- "#bc9a23"
name_error_2 <- "warning"
#
# Error: #be0f34
col_error_3 <- "#be0f34"
name_error_3 <- "error"
#
# Error Light: #fff0f3
col_error_4 <- "#fff0f3"
name_error_4 <- "error_light"
# Social Media colours:
#
# Cherry: #be0f34
col_socialmedia_1 <- "#be0f34"
name_socialmedia_1 <- "cherry"
#
# Purple: #ac48bf
col_socialmedia_2 <- "#ac48bf"
name_socialmedia_2 <- "purple"
#
# Red: #c7302b
col_socialmedia_3 <- "#c7302b"
name_socialmedia_3 <- "red"
#
# Light Blue: #1daced
col_socialmedia_4 <- "#1daced"
name_socialmedia_4 <- "light_blue"
#
# Deep blue: #001c3d
col_socialmedia_5 <- "#001c3d"
name_socialmedia_5 <- "deep_blue"
#
# Lagoon blue: #006599
col_socialmedia_6 <- "#006599"
name_socialmedia_6 <- "lagoon_blue"
#
# Weibo: #d62a2a
col_socialmedia_7 <- "#d62a2a"
name_socialmedia_7 <- "weibo"
#
# Green: #177770
col_socialmedia_8 <- "#177770"
name_socialmedia_8 <- "green"
#
# Orange: #fb8113
col_socialmedia_9 <- "#fb8113"
name_socialmedia_9 <- "orange"
#
# Google plus: #d34836
col_socialmedia_10 <- "#d34836"
name_socialmedia_10 <- "google_plus"
#
# Instagram: #517fa4
col_socialmedia_11 <- "#517fa4"
name_socialmedia_11 <- "instagram"
# Colour palette(s):
# - oxford_brand: Brand colours of Oxford University ------
#' Brand colours of University of Oxford, England, UK
#'
#' \code{oxford_brand} provides the four brand colours
#' of the \href{https://www.ox.ac.uk/}{University of Oxford}, England, UK.
#'
#' The (dark) Oxford blue is used primarily in general page furniture
#' such as the backgrounds on the header and footer.
#' This makes for a strong brand presence throughout the site.
#' Because it features so strongly in these areas,
#' it is not recommended to use it in large areas elsewhere.
#' However it is used more sparingly in smaller elements
#' such as in event date icons and search/filtering bars.
#'
#' The brand colours are
#' \code{"primary"} (defined as HEX #002147),
#' \code{"secondary"} (defined as HEX #a79d96),
#' \code{"tertiary"} (defined as HEX #f3f1ee), and
#' \code{"light_primary"} (defined as HEX #122f53).
#'
#' @return
#' A named vector of colours (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-15.
#'
#' @source
#' Colour definitions are based on the
#' \href{https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide}{Digital style guide}.
#'
#' @examples
#' oxford_brand
#' unikn::seecol(oxford_brand, main = "Uni Oxford brand colours") # view colour palette
#'
#' @family English university color palettes
#'
#' @seealso
#' \code{\link{oxford_general}} for the general colours of University of Oxford;
#' \code{\link{oxford_link}} for the link colours of University of Oxford;
#' \code{\link{oxford_shades}} for the shade colours of University of Oxford;
#' \code{\link{oxford_blog}} for the blog colours of University of Oxford;
#' \code{\link{oxford_graduate}} for the graduate colours of University of Oxford;
#' \code{\link{oxford_error}} for the error colours of University of Oxford;
#' \code{\link{oxford_socialmedia}} for the social media colours of University of Oxford;
#' \code{\link{seecol}} for viewing and comparing colour palettes;
#' \code{\link{usecol}} for using colour palettes;
#' \code{\link{simcol}} for finding similar colours;
#' \code{\link{newpal}} for defining new colour palettes;
#' \code{\link{grepal}} for finding named colours.
#'
#' @export
oxford_brand <- unikn::newpal(col = c(col_brand_1, col_brand_2, col_brand_3, col_brand_4),
names = c(name_brand_1, name_brand_2, name_brand_3, name_brand_4),
as_df = FALSE)
# # Check:
# unikn::seecol(oxford_brand, main = "Brand colours of University of Oxford", col_bg = "lightgrey")
# - oxford_general: General/Secondary colours of Oxford University ------
#' General colours of University of Oxford, England, UK
#'
#' \code{oxford_general} provides the general/ secondary colours
#' of the \href{https://www.ox.ac.uk/}{University of Oxford}, England, UK.
#'
#' The wide secondary palette is used to add visual distinction and texture
#' to design elements as well as signifying page links,
#' call-to-actions (e.g buttons) and active pages in navigational elements.
#'
#' The colours are
#' \code{"dark_blue"} (defined as HEX #001c3d),
#' \code{"washed_out_blue"} (defined as HEX #193658),
#' \code{"copyright_grey"} (defined as HEX #c7c2bc),
#' \code{"beige_grey"} (defined as HEX #f3f1ec),
#' \code{"brown_grey"} (defined as HEX #001c3d),
#' \code{"filter_form_green"} (defined as HEX #043946),
#' \code{"blue_grey"} (defined as HEX #a1c4d0),
#' \code{"teal"} (defined as HEX #003947),
#' \code{"very_light_blue"} (defined as HEX #f0f5f8),
#' \code{"cookie_bar"} (defined as HEX #00152e), and
#' \code{"blue_grey"} (defined as HEX #353c47).
#'
#' @return
#' A named vector of colours (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-15.
#'
#' @source
#' Colour definitions are based on the
#' \href{https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide}{Digital style guide}.
#'
#' @examples
#' oxford_general
#' unikn::seecol(oxford_general, main = "Uni Oxford general colours") # view colour palette
#'
#' @family English university color palettes
#'
#' @seealso
#' \code{\link{oxford_brand}} for the brand colours of University of Oxford;
#' \code{\link{oxford_link}} for the link colours of University of Oxford;
#' \code{\link{oxford_shades}} for the shade colours of University of Oxford;
#' \code{\link{oxford_blog}} for the blog colours of University of Oxford;
#' \code{\link{oxford_graduate}} for the graduate colours of University of Oxford;
#' \code{\link{oxford_error}} for the error colours of University of Oxford;
#' \code{\link{oxford_socialmedia}} for the social media colours of University of Oxford;
#' \code{\link{seecol}} for viewing and comparing colour palettes;
#' \code{\link{usecol}} for using colour palettes;
#' \code{\link{simcol}} for finding similar colours;
#' \code{\link{newpal}} for defining new colour palettes;
#' \code{\link{grepal}} for finding named colours.
#'
#' @export
oxford_general <- unikn::newpal(col = c(col_general_1, col_general_2, col_general_3, col_general_4, col_general_5, col_general_6, col_general_7, col_general_8, col_general_9, col_general_10, col_general_11),
names = c(name_general_1, name_general_2, name_general_3, name_general_4, name_general_5, name_general_6, name_general_7, name_general_8, name_general_9, name_general_10, name_general_11),
as_df = FALSE)
# # Check:
# unikn::seecol(oxford_general, main = "General colours of University of Oxford", col_bg = "lightgrey")
# - oxford_link: Link colours of Oxford University ------
#' Link colours of University of Oxford, England, UK
#'
#' \code{oxford_link} provides the link colours
#' of the \href{https://www.ox.ac.uk/}{University of Oxford}, England, UK.
#'
#' Light blue is used to indicate general actions (links and buttons).
#' Hence, it is also used in various navigational elements such as the block rollover effect
#' on the drop down menus.
#' However, many ever-present navigational links do not use this light blue link colour
#' so as not to distract from the main page content and more contextual related links in the sidebar.
#' A distinctive red colour is used sparingly to highlight key/primary call to actions
#' This is to give it more visibility over other actions on the page of less importance.
#'
#' The colours are
#' \code{"link"} (defined as HEX #3277ae),
#' \code{"link hover"} (defined as HEX #44687d),
#' \code{"alt_link_hover"} (defined as HEX #be0f34),
#' \code{"link_header"} (defined as HEX #70a9d6) and
#' \code{"link_overlay"} (defined as HEX #98c1e1),
#'
#' @return
#' A named vector of colours (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-15.
#'
#' @source
#' Colour definitions are based on the
#' \href{https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide}{Digital style guide}.
#'
#' @examples
#' oxford_link
#' unikn::seecol(oxford_link, main = "Uni Oxford link colours") # view colour palette
#'
#' @family English university color palettes
#'
#' @seealso
#' \code{\link{oxford_brand}} for the brand colours of University of Oxford;
#' \code{\link{oxford_general}} for the general colours of University of Oxford;
#' \code{\link{oxford_shades}} for the shade colours of University of Oxford;
#' \code{\link{oxford_blog}} for the blog colours of University of Oxford;
#' \code{\link{oxford_graduate}} for the graduate colours of University of Oxford;
#' \code{\link{oxford_error}} for the error colours of University of Oxford;
#' \code{\link{oxford_socialmedia}} for the social media colours of University of Oxford;
#' \code{\link{seecol}} for viewing and comparing colour palettes;
#' \code{\link{usecol}} for using colour palettes;
#' \code{\link{simcol}} for finding similar colours;
#' \code{\link{newpal}} for defining new colour palettes;
#' \code{\link{grepal}} for finding named colours.
#'
#' @export
oxford_link <- unikn::newpal(col = c(col_link_1, col_link_2, col_link_3, col_link_4, col_link_5),
names = c(name_link_1, name_link_2, name_link_3, name_link_4, name_link_5),
as_df = FALSE)
# # Check:
# unikn::seecol(oxford_link, main = "Link colours of University of Oxford", col_bg = "lightgrey")
# - oxford_shades: Shades of Oxford University ------
#' Shade colours of University of Oxford, England, UK
#'
#' \code{oxford_shades} provides the seven shade colours
#' of the \href{https://www.ox.ac.uk/}{University of Oxford}, England, UK.
#'
#' The 7 shade colours are
#' \code{"black"} (defined as HEX #000000),
#' \code{"off_black"} (defined as HEX #333333),
#' \code{"mid_grey"} (defined as HEX #7a736e),
#' \code{"dark_grey"} (defined as HEX #a6a6a6),
#' \code{"light_grey"} (defined as HEX #e0ded9),
#' \code{"light_grey"} (defined as HEX #f9f8f5), and
#' \code{"white"} (defined as HEX #ffffff).
#'
#' @return
#' A named vector of colours (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-19.
#'
#' @source
#' Colour definitions are based on the
#' \href{https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide}{Digital style guide}.
#'
#' @examples
#' oxford_shades
#' unikn::seecol(oxford_shades, main = "Uni Oxford shade colours") # view colour palette
#'
#' @family English university color palettes
#'
#' @seealso
#' \code{\link{oxford_brand}} for the brand colours of University of Oxford;
#' \code{\link{oxford_general}} for the general colours of University of Oxford;
#' \code{\link{oxford_link}} for the link colours of University of Oxford;
#' \code{\link{oxford_blog}} for the blog colours of University of Oxford;
#' \code{\link{oxford_graduate}} for the graduate colours of University of Oxford;
#' \code{\link{oxford_error}} for the error colours of University of Oxford;
#' \code{\link{oxford_socialmedia}} for the social media colours of University of Oxford;
#' \code{\link{seecol}} for viewing and comparing colour palettes;
#' \code{\link{usecol}} for using colour palettes;
#' \code{\link{simcol}} for finding similar colours;
#' \code{\link{newpal}} for defining new colour palettes;
#' \code{\link{grepal}} for finding named colours.
#'
#' @export
oxford_shades <- unikn::newpal(col = c(col_shades_1, col_shades_2, col_shades_3, col_shades_4,
col_shades_5, col_shades_6, col_shades_7),
names = c(name_shades_1, name_shades_2, name_shades_3, name_shades_4,
name_shades_5, name_shades_6, name_shades_7),
as_df = FALSE)
# # Check:
# unikn::seecol(oxford_shades, main = "Shade colours of University of Oxford", col_bg = "lightgrey")
# - oxford_blog: Custom blog colours of Oxford University ------
#' Custom blog colours of University of Oxford, England, UK
#'
#' \code{oxford_blog} provides the six custom blog colours
#' of the \href{https://www.ox.ac.uk/}{University of Oxford}, England, UK.
#'
#' The 6 custom blog colours are
#' \code{"science_blog"} (defined as HEX #0f7361),
#' \code{"science_blog_button"} (defined as HEX #09332b),
#' \code{"arts_blog"} (defined as HEX #721627),
#' \code{"arts_blog_button"} (defined as HEX #330d14),
#' \code{"books_blog"} (defined as HEX #cf7a30) and
#' \code{"books_blog_button"} (defined as HEX #9c4700).
#'
#' @return
#' A named vector of colours (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-15.
#'
#' @source
#' Colour definitions are based on the
#' \href{https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide}{Digital style guide}.
#'
#' @examples
#' oxford_blog
#' unikn::seecol(oxford_blog, main = "Uni Oxford custom blog colours") # view colour palette
#'
#' @family English university color palettes
#'
#' @seealso
#' \code{\link{oxford_brand}} for the brand colours of University of Oxford;
#' \code{\link{oxford_general}} for the general colours of University of Oxford;
#' \code{\link{oxford_link}} for the link colours of University of Oxford;
#' \code{\link{oxford_shades}} for the shade colours of University of Oxford;
#' \code{\link{oxford_graduate}} for the graduate colours of University of Oxford;
#' \code{\link{oxford_error}} for the error colours of University of Oxford;
#' \code{\link{oxford_socialmedia}} for the social media colours of University of Oxford;
#' \code{\link{seecol}} for viewing and comparing colour palettes;
#' \code{\link{usecol}} for using colour palettes;
#' \code{\link{simcol}} for finding similar colours;
#' \code{\link{newpal}} for defining new colour palettes;
#' \code{\link{grepal}} for finding named colours.
#'
#' @export
oxford_blog <- unikn::newpal(col = c(col_blog_1, col_blog_2, col_blog_3, col_blog_4, col_blog_5, col_blog_6),
names = c(name_blog_1, name_blog_2, name_blog_3, name_blog_4, name_blog_5, name_blog_6),
as_df = FALSE)
# # Check:
# unikn::seecol(oxford_blog, main = "Custom blog colours of University of Oxford", col_bg = "lightgrey")
# - oxford_graduate: Graduate country page colours of Oxford University ------
#' Graduate country page colours of University of Oxford, England, UK
#'
#' \code{oxford_graduate} provides the twelve graduate country page colours
#' of the \href{https://www.ox.ac.uk/}{University of Oxford}, England, UK.
#'
#' The 23 graduate country page colours are
#' \code{"graduate_light_blue"} (defined as HEX #9eceeb),
#' \code{"graduate_blue"} (defined as HEX #5f9baf),
#' \code{"graduate_navy_blue"} (defined as HEX #44687d),
#' \code{"graduate_grey_blue"} (defined as HEX #a1c4d0),
#' \code{"graduate_dark_green"} (defined as HEX #69913b),
#' \code{"graduate_light_green"} (defined as HEX #aab300),
#' \code{"graduate_orange"} (defined as HEX #cf7a30),
#' \code{"graduate_yellow"} (defined as HEX #f5cf47),
#' \code{"graduate_dark_red"} (defined as HEX #872434),
#' \code{"graduate_red"} (defined as HEX #be0f34),
#' \code{"graduate_pink"} (defined as HEX #ebc4cb), and
#' \code{"graduate_grey"} (defined as HEX #a79d96).
#'
#' @return
#' A named vector of colours (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-15.
#'
#' @source
#' Colour definitions are based on
#' \href{https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide}{Oxford's digital style guide}.
#'
#' @examples
#' oxford_graduate
#' unikn::seecol(oxford_graduate,
#' main = "Uni Oxford graduate country page colours") # view colour palette
#'
#' @family English university color palettes
#'
#' @seealso
#' \code{\link{oxford_brand}} for the brand colours of University of Oxford;
#' \code{\link{oxford_general}} for the general colours of University of Oxford;
#' \code{\link{oxford_link}} for the link colours of University of Oxford;
#' \code{\link{oxford_shades}} for the shade colours of University of Oxford;
#' \code{\link{oxford_blog}} for the blog colours of University of Oxford;
#' \code{\link{oxford_error}} for the error colours of University of Oxford;
#' \code{\link{oxford_socialmedia}} for the social media colours of University of Oxford;
#' \code{\link{seecol}} for viewing and comparing colour palettes;
#' \code{\link{usecol}} for using colour palettes;
#' \code{\link{simcol}} for finding similar colours;
#' \code{\link{newpal}} for defining new colour palettes;
#' \code{\link{grepal}} for finding named colours.
#'
#' @export
oxford_graduate <- unikn::newpal(col = c(col_graduate_1, col_graduate_2, col_graduate_3, col_graduate_4,
col_graduate_5, col_graduate_6, col_graduate_7, col_graduate_8,
col_graduate_9, col_graduate_10, col_graduate_11, col_graduate_12),
names = c(name_graduate_1, name_graduate_2, name_graduate_3, name_graduate_4,
name_graduate_5, name_graduate_6, name_graduate_7, name_graduate_8,
name_graduate_9, name_graduate_10, name_graduate_11, name_graduate_12),
as_df = FALSE)
# # Check:
# unikn::seecol(oxford_graduate, main = "Graduate country page colours of University of Oxford", col_bg = "lightgrey")
# - oxford_error: Error colours of Oxford University ------
#' Error colours of University of Oxford, England, UK
#'
#' \code{oxford_error} provides the four error colours
#' of the \href{https://www.ox.ac.uk/}{University of Oxford}, England, UK.
#'
#' The 4 error colours are
#' \code{"status"} (defined as HEX #7dbc23),
#' \code{"warning"} (defined as HEX #bc9a23),
#' \code{"error"} (defined as HEX #be0f34), and
#' \code{"error_light"} (defined as HEX #fff0f3),
#'
#' @return
#' A named vector of colours (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-15.
#'
#' @source
#' Colour definitions are based on the
#' \href{https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide}{Digital style guide}.
#'
#' @examples
#' oxford_error
#' unikn::seecol(oxford_error, main = "Uni Oxford error colours") # view colour palette
#'
#' @family English university color palettes
#'
#' @seealso
#' \code{\link{oxford_brand}} for the brand colours of University of Oxford;
#' \code{\link{oxford_general}} for the general colours of University of Oxford;
#' \code{\link{oxford_link}} for the link colours of University of Oxford;
#' \code{\link{oxford_shades}} for the shade colours of University of Oxford;
#' \code{\link{oxford_blog}} for the blog colours of University of Oxford;
#' \code{\link{oxford_graduate}} for the graduate colours of University of Oxford;
#' \code{\link{oxford_socialmedia}} for the social media colours of University of Oxford;
#' \code{\link{seecol}} for viewing and comparing colour palettes;
#' \code{\link{usecol}} for using colour palettes;
#' \code{\link{simcol}} for finding similar colours;
#' \code{\link{newpal}} for defining new colour palettes;
#' \code{\link{grepal}} for finding named colours.
#'
#' @export
oxford_error <- unikn::newpal(col = c(col_error_1, col_error_2, col_error_3, col_error_4),
names = c(name_error_1, name_error_2, name_error_3, name_error_4),
as_df = FALSE)
# # Check:
# unikn::seecol(oxford_error, main = "Error colours of University of Oxford", col_bg = "lightgrey")
# - oxford_socialmedia: Social media colours of Oxford University------
#' Social Media colours of University of Oxford, England, UK
#'
#' \code{oxford_socialmedia} provides the eleven social media colours
#' of the \href{https://www.ox.ac.uk/}{University of Oxford}, England, UK.
#'
#' The 11 social media colours are
#' \code{"cherry"} (defined as HEX #be0f34),
#' \code{"purple"} (defined as HEX #ac48bf),
#' \code{"red"} (defined as HEX #c7302b),
#' \code{"light_blue"} (defined as HEX #1daced),
#' \code{"deep_blue"} (defined as HEX #001c3d),
#' \code{"lagoon_blue"} (defined as HEX #006599),
#' \code{"weibo"} (defined as HEX #d62a2a),
#' \code{"green"} (defined as HEX #177770),
#' \code{"orange"} (defined as HEX #fb8113),
#' \code{"google_plus"} (defined as HEX #d34836), and
#' \code{"instagram"} (defined as HEX #517fa4),
#'
#' @return
#' A named vector of colours (HEX/HTML codes of type character).
#'
#' @author
#' \strong{unicol}, 2023-06-15.
#'
#' @source
#' Colour definitions are based on the
#' \href{https://www.ox.ac.uk/public-affairs/style-guide/digital-style-guide}{Digital style guide}.
#'
#' @examples
#' oxford_socialmedia
#' unikn::seecol(oxford_socialmedia, main = "Uni Oxford social media colours") # view colour palette
#'
#' @family English university color palettes
#'
#' @seealso
#' \code{\link{oxford_brand}} for the brand colours of University of Oxford;
#' \code{\link{oxford_general}} for the general colours of University of Oxford;
#' \code{\link{oxford_link}} for the link colours of University of Oxford;
#' \code{\link{oxford_shades}} for the shade colours of University of Oxford;
#' \code{\link{oxford_blog}} for the blog colours of University of Oxford;
#' \code{\link{oxford_graduate}} for the graduate colours of University of Oxford;
#' \code{\link{oxford_error}} for the error colours of University of Oxford;
#' \code{\link{seecol}} for viewing and comparing colour palettes;
#' \code{\link{usecol}} for using colour palettes;
#' \code{\link{simcol}} for finding similar colours;
#' \code{\link{newpal}} for defining new colour palettes;
#' \code{\link{grepal}} for finding named colours.
#'
#' @export
oxford_socialmedia <- unikn::newpal(col = c(col_socialmedia_1, col_socialmedia_2, col_socialmedia_3, col_socialmedia_4,
col_socialmedia_5, col_socialmedia_6, col_socialmedia_7, col_socialmedia_8,
col_socialmedia_9, col_socialmedia_10, col_socialmedia_11),
names = c(name_socialmedia_1, name_socialmedia_2, name_socialmedia_3, name_socialmedia_4,
name_socialmedia_5, name_socialmedia_6, name_socialmedia_7, name_socialmedia_8,
name_socialmedia_9, name_socialmedia_10, name_socialmedia_11),
as_df = FALSE)
# # Check:
# unikn::seecol(oxford_socialmedia, main = "Social Media colours of University of Oxford", col_bg = "lightgrey")
## ToDo: --------
# - etc.
## eof. ----------