View Colors in the Plots Pane

view_labelled_colors(
  ...,
  labels = NULL,
  borders = NULL,
  cex_label = 0.5,
  ncol = NULL
)

Arguments

...

Color names or hex codes.

labels

Custom labels other than the color name.

borders

Color for rectangle border(s) that is passed to rect(), Default: NULL

cex_label

Numeric character expansion factor; multiplied by par("cex") yields the final character size. NULL and NA are equivalent to 1.0, Default: 0.5

ncol

How wide the plot should be, Default: NULL

See also