generate_highcontrast_palette2 | R Documentation |
Generate a color palette suitable for stacked bar plots given a feature number (S) This version uses the Polychrome package in R and (I think) gives a more visually parsable result
generate_highcontrast_palette2(
S,
seed_colors_hex = c("#ff0000", "#00ff00", "#0000ff")
)
S |
number of features (colors to generate) |
seed_colors_hex |
optional list of hex colors to seed function with |
list of hex colors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.