color_invertRGB | R Documentation |
Invert Color in RGB space
color_invertRGB(x)
x |
Color, vector |
Inverted colors using hexadecimal notation #RRGGBBAA
E.D. Gennatas
## Not run:
cols <- c("red", "green", "blue")
previewcolor(cols)
cols |>
color_invertRGB() |>
previewcolor()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.