| tetradic | R Documentation | 
Tetradic color schemes uses four colors arranged into two complementary pairs.
  tetradic(color, plot = TRUE, bg = "white", labcol = NULL,
    cex = 0.8, title = TRUE)
| color | an R color name or a color in hexadecimal notation | 
| plot | logical value indicating whether to plot a color wheel with the generated scheme | 
| bg | background color of the plot. Used only when
 | 
| labcol | color for the labels (i.e. names of the
colors). Used only when  | 
| cex | numeric value indicating the character expansion of the labels | 
| title | logical value indicating whether to display
a title in the plot. Used only when  | 
The tetradic colors are obtained following a color wheel with 12 colors, each one spaced at 30 degrees from each oter.
A character vector with the given color and the tetradic colors in hexadecimal notation
Gaston Sanchez
complementary, splitComp,
adjacent, triadic,
square
# tetradic colors for 'tomato'
tetradic("tomato")
# tetradic colors for 'tomato' with bg='gray20'
tetradic("tomato", bg = "gray20")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.