Learn R Programming

sharpshootR (version 1.8)

colorMixtureVenn: Create a Venn Diagram of Simulated Color Mixtures

Description

Create a Venn Diagram of Simulated Color Mixtures

Usage

colorMixtureVenn(
  chips,
  mixingMethod = "spectra",
  ellipse = FALSE,
  labels = TRUE
)

Arguments

chips

character vector of standard Munsell color notation (e.g. "10YR 3/4")

mixingMethod

approach used to simulate a mixture: see aqp::mixMunsell for details

ellipse

logical, use alternative ellipse-style (4 or 5 colors only)

labels

logical, print mixture labels

Examples

Run this code
# NOT RUN {
if(requireNamespace("venn") & requireNamespace("gower")) {

# "tan" / "dark red" / "dark brown"
chips <- c('10YR 8/1', '2.5YR 3/6', '10YR 2/2')
colorMixtureVenn(chips)

}
# }

Run the code above in your browser using DataLab