View source: R/utils_css_color.R
| color_rgb_table | R Documentation |
Convert vector of colors to named tbl
color_rgb_table(colors)
colors |
|
tbl Columns red, green, blue, alpha and each color is a row
Other color:
color_cycle(),
color_distance(),
color_luminance(),
color_match(),
color_separate(),
color_text_by_luminance(),
colors2css(),
css_col2vec(),
luminance_filter(),
rgb2hex()
Other color:
color_cycle(),
color_distance(),
color_luminance(),
color_match(),
color_separate(),
color_text_by_luminance(),
colors2css(),
css_col2vec(),
luminance_filter(),
rgb2hex()
color_rgb_table(c("red", "green", "#45fa32"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.