R/unhcr_color_def.R
unhcr_pal_graphic.Rd
UNHCR preferred graphic colors to be use as a main set for graphics creation.
unhcr_pal_graphic
provides an additional UNHCR color palette
that collects the preferred UNHCR colors for graphics as a data frame containing 6 colors.
See https://media.unhcr.org/archive/Data-visualisation-colour-palette-2CZ7A2HOVFP9.html for details.
unhcr_pal_graphic
An object of class data.frame
with 1 rows and 6 columns.
unhcr_pal
for the default UNHCR color palette;
seecol
to show color palettes;
usecol
to use color palettes.
Other color palettes:
unhcr_pal_blue
,
unhcr_pal_darkblue
,
unhcr_pal_green
,
unhcr_pal_grey
,
unhcr_pal_primary
,
unhcr_pal_red
,
unhcr_pal_yellow
,
unhcr_pal
{ unhcr_pal_graphic dim(unhcr_pal_graphic) # Access by position: unhcr_pal_graphic[1] # color blue (as df) unhcr_pal_graphic[[1]] # color value "#0072BC" # Access by name: unhcr_pal_graphic["Blue"] # color "blue5" (as df) unhcr_pal_graphic[["Blue"]] # color value "#0072BC" # Plotting palette: seecol(unhcr_pal_graphic) }