I spotted this blog post about interpolating colors in LAB with d3.js. Since I think the scales package in R doesn't get the attention it deserves, I wanted to replicate the example in R.
# do d3 interpolateLab in R with scales
# https://translate.google.com/translate?hl=en&sl=ja&tl=en&u=http%3A%2F%2Fblog.aagata.ciao.jp%2F%3Feid%3D116
library(scales)
plot(