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
[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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=colortheme
to link to this page.