Description Usage Arguments Value Examples
This function returns the complement of its argument, the "opposite" colours in the specified space.
| 1 | complement(shades, space = NULL)
 | 
| shades | One or more colours, in any suitable form (see
 | 
| space | The space in which to take the complement. | 
New colours of class "shade", or a new palette function.
| 1 2 3 | complement("cyan")
complement("cyan", space="HSV")
complement("cyan", space="Lab")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.