Code
print(col_red)
Output
<cli_ansi_style>
Example output
Code
print(col_red("red"))
Output
<cli_ansi_string>
[1] [31mred[39m
Code
ansi_scale(c(0, 0, 0))
Output
[1] 0 0 0
Code
ansi_scale(c(255, 100, 0))
Output
[1] 5 2 0
Code
ansi_scale(c(255, 100, 0), round = FALSE)
Output
[1] 5.000000 1.960784 0.000000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.