View source: R/utils_css_color.R
colors2css | R Documentation |
Convert a list of colors to SCSS/Sass variables or classes
colors2css(colors, file = "", sass_vars = TRUE)
file |
A connection, or a character string naming the file
to print to. If |
color_theme |
|
msg
Sass/SCSS formatted variables or classes
Other color:
color_cycle()
,
color_distance()
,
color_luminance()
,
color_match()
,
color_rgb_table()
,
color_separate()
,
color_text_by_luminance()
,
css_col2vec()
,
luminance_filter()
,
rgb2hex()
colors2css(c(a = "white", b = "green"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.