Description Usage Arguments Value Examples
Returns the complementary color to that it receives as input
1 |
... |
Color whose complementary is to be calculated. Hexcode, c(r,g,b), color name as character and "color" class object are all supported. |
Generally, a hexcode representing the input's complementary. If a "color" class object is received as argument, the complementary will keep this format.
1 2 3 4 5 | complementary("red")
complementary("#ff00ff")
complementary(0,128,128)
complementary(c(0,0,0))
complementary(color(c(.7,.25,.25), maxVal=1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.