fix_mnsl: Fix an undefined Munsell colour

Description Usage Arguments Value Examples

Description

Takes correctly specified but undefined colours and outputs something sensible. Normally this happens when the chroma is too high. So, here sensible means the colour with the same hue and value and maximum defined chroma.

Usage

1

Arguments

col

a character vector representing Munsell colours.

Value

a character vector containing the fixed colours.

Examples

1
fix_mnsl(c("5R 5/8","2.5R 9/28"))

Example output

[1] "5R 5/18"  "2.5R 9/2"

munsell documentation built on May 2, 2019, 5:57 a.m.