qualpalr: Automatic Generation of Qualitative Color Palettes

Automatic generation of maximally distinct qualitative color palettes, optionally tailored to color deficiency. A set of colors or a subspace of a color space is used as input and a final palette of specified size is generated by picking colors that maximize the minimum pairwise difference among the chosen colors. Adaptations to color vision deficiency, background colors, and white points are supported.

Version: 2.0.0
Depends: R (≥ 4.0.0)
Imports: graphics, stats, utils, Rcpp
LinkingTo: Rcpp (≥ 0.12.9)
Suggests: randtoolbox (≥ 1.17), testthat, knitr, rmarkdown, maps, rgl, spelling, covr
Published: 2026-01-29
DOI: 10.32614/CRAN.package.qualpalr
Author: Johan Larsson ORCID iD [aut, cre]
Maintainer: Johan Larsson <johan at jolars.co>
BugReports: https://github.com/jolars/qualpalr/issues
License: GPL-3
URL: https://jolars.github.io/qualpalr/
NeedsCompilation: yes
SystemRequirements: C++17
Language: en-US
Citation: qualpalr citation info
Materials: README, NEWS
CRAN checks: qualpalr results

Documentation:

Reference manual: qualpalr.html , qualpalr.pdf
Vignettes: Qualpal Alternatives (source, R code)
An introduction to qualpalr (source, R code)

Downloads:

Package source: qualpalr_2.0.0.tar.gz
Windows binaries: r-devel: qualpalr_1.0.1.zip, r-release: qualpalr_1.0.1.zip, r-oldrel: qualpalr_1.0.1.zip
macOS binaries: r-release (arm64): qualpalr_1.0.1.tgz, r-oldrel (arm64): qualpalr_1.0.1.tgz, r-release (x86_64): qualpalr_1.0.1.tgz, r-oldrel (x86_64): qualpalr_1.0.1.tgz
Old sources: qualpalr archive

Reverse dependencies:

Reverse imports: ClustAssess

Linking:

Please use the canonical form https://CRAN.R-project.org/package=qualpalr to link to this page.

mirror server hosted at Truenetwork, Russian Federation.