palettecore
0.4.1Derive, Optimise and Audit a Scientific Colour Palette from One Seed Colour
Overview
Generates sequential, diverging and categorical colour palettes from a single seed colour in OKLCH (the cylindrical lightness-chroma-hue representation of the Oklab perceptual colour space), with spacing measured by the CIEDE2000 colour-difference formula of the International Commission on Illumination. Audits every palette under simulated colour-vision deficiency, greyscale conversion, the standard Red Green Blue (sRGB) gamut and Web Content Accessibility Guidelines (WCAG) contrast. Colour-vision deficiency is simulated at severity 1.0 with the model of Machado, Oliveira and Fernandes (2009) doi:10.1109/TVCG.2009.113; the design rationale follows Crameri, Shephard and Heron (2020) doi:10.1038/s41467-020-19160-7. Mirrors the 'Python' reference implementation maintained in the same repository and is validated against shared parity fixtures. Thresholds are configurable design rules, not established accessibility cut-offs.
Install
Health
- OK2026-08-108 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation signals are not tracked yet for this package.
Downloads
Repository
Repository practices
Repository github.com/heidihelena/palettecore is linked, but repository-practices checks have not run for it yet.
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
1 release. R releases are shown for context.
- 0.4.1Latest2026-08-09 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-08-09
- Total releases
- 1 / 1 yrs
- License
- Apache License (>= 2)
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("palettecore")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-11, which the citation names so these numbers can be found later. More on citing and the projects behind them.