show_colours | R Documentation |
Preview a list of colours as a grid
show_colours(
col_list,
arrange = "rect",
n = NULL,
pad = "#FFFFFF",
asp = NA,
main = NULL
)
show_colors(
col_list,
arrange = "rect",
n = NULL,
pad = "#FFFFFF",
asp = NA,
main = NULL
)
col_list |
(Character) A vector of colours in RGB Hex or RGBA Hex format. |
arrange |
(Character: |
n |
(Integer) If not |
pad |
(Character) If there are too few colours to fill all of the spaces in
the grid, what colour should be used to pad it out? |
asp |
(Numeric or |
main |
(Character or |
A graphic that shows all of the colours in col_list
.
show_colours(colours(distinct = TRUE))
show_colours(colours(distinct = TRUE), arrange = "cols")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.