show_cols | R Documentation |
Show list of colors
show_cols
: show list of colors
show_cols_brewer
: show list of colors in RColorBrewer style
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)
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 |
nrow |
integer, number of rows |
print(names(colors_group))
show_cols(colors_group$rainbow, margin = 14)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.