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.
| Version: | 0.4.1 |
| Depends: | R (≥ 4.1) |
| Imports: | stats, utils |
| Suggests: | ggplot2, jsonlite |
| Published: | 2026-08-09 |
| DOI: | 10.32614/CRAN.package.palettecore |
| Author: | Heidi Helena Andersén
|
| Maintainer: | Heidi Helena Andersén <andersenheidihelena at gmail.com> |
| BugReports: | https://github.com/heidihelena/palettecore/issues |
| License: | Apache License (≥ 2) |
| URL: | https://github.com/heidihelena/palettecore |
| NeedsCompilation: | no |
| CRAN checks: | palettecore results |
| Reference manual: | palettecore.html , palettecore.pdf |
| Package source: | palettecore_0.4.1.tar.gz |
| Windows binaries: | r-devel: palettecore_0.4.1.zip, r-release: palettecore_0.4.1.zip, r-oldrel: palettecore_0.4.1.zip |
| macOS binaries: | r-release (arm64): palettecore_0.4.1.tgz, r-oldrel (arm64): palettecore_0.4.1.tgz, r-release (x86_64): palettecore_0.4.1.tgz, r-oldrel (x86_64): palettecore_0.4.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=palettecore to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.