show_palette: show a single palette with a title

Description Usage Arguments

Description

show a single palette with a title

Usage

1
2
3
4
5
6
7
8
9
show_palette(
  colours,
  title = NULL,
  labels = NULL,
  show_labels = TRUE,
  borders = NULL,
  cex_label = 1,
  ncol = NULL
)

Arguments

colours

character vector of hex colours

title

title

labels

colour labels. if null then use colour names as-is, otherwise use these labels given as a character vector

show_labels

default: TRUE

borders

set borders

cex_label

size for colour label

ncol

number of colums. id NULL (the default), then make the result as square as possible


coolbutuseless/colourmebad documentation built on Dec. 19, 2021, 6:03 p.m.