powered by
plot and show hex values of colors
show_colors(colors, show.legend = TRUE, ncols = NULL, alpha = NA)
character vector of hex value colors
show the legend with hex values (logical)
number of columns in the plot
set alpha level for all colors
A plot with the index of the color in the tile
# NOT RUN { show_colors(mejr_palette()) show_colors(topo.colors(25)) show_colors(cm.colors(64), FALSE) show_colors(viridisLite::viridis(15), alpha = .8) # }
Run the code above in your browser using DataLab