colouR
is a useful tool for analyzing and utilizing the
colors in images, as well as providing color palettes. A demonstration
of the package can be found here: https://alaninglis.github.io/colouR/articles/colouR.html
You can install the development version of colouR from GitHub with:
# install.packages("devtools")
devtools::install_github("AlanInglis/colouR")
You can then load the package with:
library(corrViz)