Examples for 'munsell::hvc2mnsl'


Converts a hue, chroma and value to a Munsell colour

Aliases: hvc2mnsl

Keywords:

### ** Examples

hvc2mnsl("5PB", 5, 10)
[1] "5PB 5/10"
# All values of 5PB with chroma 10
hvc2mnsl("5PB", 1:9, 10) # note some are undefined
[1] "5PB 1/10" "5PB 2/10" "5PB 3/10" "5PB 4/10" "5PB 5/10" "5PB 6/10" "5PB 7/10"
[8] "5PB 8/10" "5PB 9/10"
plot_mnsl(hvc2mnsl("5PB", 1:9, 10))
Warning in in_gamut(cols, ...): some specified colours are undefined. You could
try fix = TRUE
plot of chunk example-munsell-hvc2mnsl-1

[Package munsell version 0.5.0 Index]