shuffle_colors-deprecated | R Documentation |
This function reshuffles a vector of colours so that in a list of n
colors, every color i
in {1, n / 2}
will be placed next
to color i + n / 2
. This is useful for visualization of
automatically generated color palettes based upon for example gradients
or HSL color circles.
shuffle_colors(clrs)
clrs |
A vector of colors to reshuffle. |
A reshuffled vector of clrs
.
fantaxtic-deprecated
shuffle_colors(gen_colors(6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.