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, ...)

Arguments

col

character vector of Munsell colours

...

deprecated

Value

character vector of Munsell colours

Examples

complement("5PB 2/4")
#> [1] "5Y 2/4"
cols <- c("5PB 2/4", "5Y 7/8")
plot_mnsl(c(cols, complement(cols)))