View source: R/utils_css_color.R
color_separate | R Documentation |
Separate a vector of colors based on their distance
color_separate(x)
x |
|
chr
The original vector, sorted for contrast
Other color:
color_cycle()
,
color_distance()
,
color_luminance()
,
color_match()
,
color_rgb_table()
,
color_text_by_luminance()
,
colors2css()
,
css_col2vec()
,
luminance_filter()
,
rgb2hex()
color_separate(c("rgba(18,180,211,1)", "rgba(2,120,170,1)", "rgba(0,57,73,1)",
"rgba(72,36,18,1)", "rgba(111,96,140,1)", "rgba(0,166,212,1)",
"rgba(9,119,168,1)"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.