colourvalues: Assigns Colours to Values

Maps one of the viridis colour palettes, or a user-specified palette to values. Viridis colour maps are created by Stéfan van der Walt and Nathaniel Smith, and were set as the default palette for the 'Python' 'Matplotlib' library <>. Other palettes available in this library have been derived from 'RColorBrewer' <> and 'colorspace' <> packages.

Version: 0.3.9
Depends: R (≥ 3.3.0)
Imports: graphics, Rcpp (≥ 1.0.10)
LinkingTo: BH (≥ 1.81.0), Rcpp (≥ 1.0.10)
Suggests: covr, microbenchmark, scales, testthat, viridisLite
Published: 2023-04-11
DOI: 10.32614/CRAN.package.colourvalues
Author: David Cooley [aut, cre]
Maintainer: David Cooley <dcooley at>
License: GPL-3
NeedsCompilation: yes
SystemRequirements: C++17
Materials: README NEWS
CRAN checks: colourvalues results


Reference manual: colourvalues.pdf


Package source: colourvalues_0.3.9.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): colourvalues_0.3.9.tgz, r-oldrel (arm64): colourvalues_0.3.9.tgz, r-release (x86_64): colourvalues_0.3.9.tgz, r-oldrel (x86_64): colourvalues_0.3.9.tgz
Old sources: colourvalues archive

Reverse dependencies:

Reverse imports: mapdeck, mariner, rTwig, spatialrisk
Reverse linking to: mapdeck, spatialwidget
Reverse suggests: leafgl, miaSim, spatialwidget


Please use the canonical form to link to this page.