# NOT RUN {
# Munsell notation to sRGB triplets [0-1]
color <- munsell2rgb(
the_hue = c('10YR', '2.5YR'),
the_value = c(3, 5),
the_chroma = c(5, 6),
return_triplets = TRUE
)
# result is a data.frame
color
# sRGB triplets to closest Munsell color
# dE00 distandce metric
# result is a data.frame
rgb2munsell(color)
# }
Run the code above in your browser using DataLab