powered by
Color-checker-chart ggplot labelled with color names or with indexes of the colors in the vector passed as first argument.
color_chart( colors = grDevices::colors(), ncol = NULL, use.names = NULL, text.size = 2, text.color = NULL, grid.color = "white" )
character A vector of color definitions.
integer Number of column in the checker grid.
logical Force use of names or indexes.
numeric Size of the text labels drawn on each color tile.
character Color definition, used for text on tiles.
character Color definition, used for grid lines between tiles.
color_chart() color_chart(grep("dark", colors(), value = TRUE), text.size = 3.5)
Run the code above in your browser using DataLab