Automatic Generation of Qualitative Color Palettes
Overview
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.
New Features
qualpal()gainsrefinement_startsto control experimental continuous refinement for HSL and LCHab regions with the CIEDE2000 metric. The default uses five starts, which can change palettes and increase runtime. Set it to zero to disable refinement. Other metrics and fixed input sets skip refinement.- HSL regions now use the updated C++ library's LCH-based candidate sampler. Disabling refinement does not restore palettes from earlier library versions.
Refactoring
- The package now uses cpp11 instead of Rcpp to bind the C++ code to R. This should speed up compilation times and reduce dependencies.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-25
- ERROR12 OK, 1 ERROR2026-10-24
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
Show 5 earlier changesHide 5 earlier changes
- ERROR12 OK, 1 ERROR2026-06-07
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 11 (3 internal)includes a package overview page
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 67%
- Documented parameters
- 63%
- Return-value docs
- 83%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 70%
- Median days to close, 50 most recently updated closed issues
- 9
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/jolars/qualpalr on 2026-10-21.
The R CMD check workflow runs on Linux and macOS, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-10-12 · The repository has a site deploy workflow
pkgdown site last built 2026-10-12
Show all practicesHide 3 practices
Dependencies
Installing qualpalr adds 1 package (0 with compiled code, 298 KB of source tarballs). Heaviest: cpp11 298 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 2.1.0Latest
- RR 4.6.0 released · 2026-04-24
- 2.0.02026-01-29 · diff ↗
- 1.0.12025-10-17 · diff ↗
- 1.0.0
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-09-13
- 0.4.42023-09-13 · diff ↗
- archivedRemoved from CRAN2023-08-28email to the maintainer is undeliverable
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.4.32018-10-29 · diff ↗
Show 10 earlier eventsHide 10 earlier events
Package metadata
- First published
- 2016-08-31
- Total releases
- 13 / 10 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 451 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("qualpalr")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.08936.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.