Makes a cyclic color palette of a specified length using the specified transformation each cycle
color_cycle.RdMakes a cyclic color palette of a specified length using the specified transformation each cycle
Arguments
- colors
chrvector of colors in hex format- n
numlength of color vector needed- transform_fn
funSee lighten for examples- ...
argspassed 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’