add_colors()
Purpose:
given_colors
- character vector of colors; bonus points: list
of character vectors or color functions - convert color function
to vector by using its color steps, same as jamba::showColors()
n
- number of new colors to addcolor_fn
- function to generate new colors for testing.
Default rainbowJam()
or in future fibonacci_colors()
new_colors
with color_fn
slot_colors()
to assign given_colors
to new_colors
n
colors are unassigned, assign them in order.n
colors remain, repeat step (1) with n+1
colors.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.