colortheme: A Unified Framework and Interface for Color Palettes and Ramps

The 'colortheme' package provides a unified, environment-based object framework for managing, retrieving, and customizing color palettes and color ramps in R. It acts as a flexible dispatcher that supports both discrete qualitative palettes and continuous sequential/diverging color ramps. Features a compact URL-like syntax for on-the-fly theme modifications (such as color reversal, type coercion, and query-based parameter tuning) and seamless integration with base R graphics and 'ggplot2'.

Version: 0.1.0
Imports: graphics, grDevices, stats, utils
Suggests: ggplot2, khroma, RColorBrewer, scales, testthat (≥ 3.0.0), viridisLite
Published: 2026-11-27
DOI: 10.32614/CRAN.package.colortheme (may not be active yet)
Author: Ryoichi Asashiba ORCID iD [aut, cre]
Maintainer: Ryoichi Asashiba <ryoichi.asashiba at gmail.com>
BugReports: https://github.com/ryo-asashi/colortheme/issues
License: MIT + file LICENSE
URL: https://github.com/ryo-asashi/colortheme, https://ryo-asashi.github.io/colortheme/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: colortheme results

Documentation:

Reference manual: colortheme.html , colortheme.pdf

Downloads:

Package source: colortheme_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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