Makes a cyclic color palette of a specified length using the specified transformation each cycle
color_cycle.Rd
Makes a cyclic color palette of a specified length using the specified transformation each cycle
Arguments
- colors
chr
vector of colors in hex format- n
num
length of color vector needed- transform_fn
fun
See lighten for examples- ...
args
passed on totransform_fn
See also
Other color:
color_distance()
,
color_luminance()
,
color_match()
,
color_rgb_table()
,
color_separate()
,
color_text_by_luminance()
,
colors2css()
,
css_col2vec()
,
luminance_filter()
,
rgb2hex()
Examples
color_cycle(c("rgba(18,180,211,1)", "rgba(2,120,170,1)", "rgba(0,57,73,1)"), n = 9, amount = .2)
#> Error in loadNamespace(x): there is no package called ‘colorspace’