rgb2code | R Documentation |
Transform a rgb vector to a Rcolor code
rgb2code(x, rev = FALSE)
x |
vector or three columns data.frame |
rev |
reverse,transform a Rcolor code to a rgb vector |
Rcolor code like "#69C404"
rgb2code(c(12, 23, 34))
rgb2code("#69C404", rev = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.