Description Usage Arguments Details Value Author(s) See Also Examples
The square color scheme is similar to the tetradic scheme, but with all four colors spaced around the color circle.
1 2 |
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 square colors are obtained following a color wheel with 12 colors, each one spaced at 30 degrees from each other. Square color schemes tend to work best if you let one color be dominant
A character vector with the given color and the square scheme colors in hexadecimal notation
Gaston Sanchez
complementary
, adjacent
,
triadic
, tetradic
1 2 | # square color scheme for 'tomato'
square("tomato")
|
[1] "#FF6347" "#87FF47" "#47E3FF" "#BF47FF"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.