Although the software that came with the vis-NIR has a colorimetry option, you have to manually record soil color (RGB, CIELAB) for each spectra. I have vis-NIR spectra for over 900 soil samples, and took triplicate scans. It would be awesome if there was an R code I could use to get soil color quickly. Thanks!