complement | R Documentation |
Finds the munsell colour with the same chroma and value but on the opposite side of the hue circle. The complement is not defined for greys (hue == "N"), and the function returns the grey untransformed.
complement(col, ...)
col |
character vector of Munsell colours |
... |
deprecated |
character vector of Munsell colours
complement("5PB 2/4")
cols <- c("5PB 2/4", "5Y 7/8")
plot_mnsl(c(cols, complement(cols)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.