powered by
This function will "launder" colors in Munsell notation, fixing (and optionally flagging) the following:
colors specified with 0-chroma will be converted to neutral hue (N) and original value
for neutral colors, any chroma >0 will be set to 0
Examples:
'10YR 2/0' -> 'N 2/0'
'N 4/1 -> 'N 4/0'
launderMunsell(m, verbose = FALSE)
either character vector, or when verbose = TRUE a data.frame
verbose = TRUE
data.frame
character vector of Munsell colors
logical, optionally return a data.frame comparing modifications
# will be converted to 'N 4/0' launderMunsell('5G 4/0')
Run the code above in your browser using DataLab