l_hexcolor | R Documentation |
Color names in loon will be mapped to colors according to the Tk color specifications and are normalized to a 12 digit hexadecimal color representation.
l_hexcolor(color)
color |
a vector with color names |
a character vector with the 12 digit hexadecimal color strings.
as_hex6color
, hex12tohex6
,
l_colorName
if(interactive()){
p <- l_plot(1:2)
p['color'] <- 'red'
p['color']
l_hexcolor('red')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.