show_cols: Show list of colors

Description Usage Arguments Examples

View source: R/show_cols.R

Description

Show list of colors

Usage

1
2
3
4
5
show_cols(colors_list, margin = 8, fontsize = 1, family = NULL)

show_cols_brewer(colors_list)

show_col(colors, labels = TRUE, borders = NULL, cex_label = 1, nrow = NULL)

Arguments

colors_list

A list objects filled with colors_list or a color vector

margin

margin in the left

family, fontsize

font family and size of color names in the left

colors

a character vector of colors

labels

boolean, whether to show the hexadecimal representation of the colours in each tile

borders

colour of the borders of the tiles

cex_label

size of printed labels, works the same as cex parameter of plot()

nrow

integer, number of rows

Examples

1
2

rcolors documentation built on April 23, 2021, 5:07 p.m.