Creates an LGBT Pride Flag with R Logo

make_banner(
  flag = "rainbow",
  width = 1000,
  palette = c("#cbced0", "#84838b", "#505050", "#a0a0a0")
)

Arguments

flag

character string (e.g., rainbow) naming the flag to be drawn

width

numeric (width of the flag in pixels)

palette

character vector of colours 1, 2 or 4 colours

Value

An object of class "magick-image"