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.

Package details

AuthorJohan Larsson [aut, cre] (ORCID: <https://orcid.org/0000-0002-4029-5945>)
MaintainerJohan Larsson <johan@jolars.co>
LicenseGPL-3
Version2.0.0
URL https://jolars.github.io/qualpalr/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("qualpalr")

Try the qualpalr package in your browser

Any scripts or data that you put into this service are public.

qualpalr documentation built on Jan. 30, 2026, 1:06 a.m.